UNPKG

chai

Version:

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

77 lines (76 loc) • 2.15 kB
{ "author": "Jake Luer <jake@alogicalparadox.com>", "name": "chai", "type": "module", "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.", "keywords": [ "test", "assertion", "assert", "testing", "chai" ], "files": [ "index.js", "register-*.js" ], "homepage": "http://chaijs.com", "license": "MIT", "contributors": [ "Jake Luer <jake@alogicalparadox.com>", "Domenic Denicola <domenic@domenicdenicola.com> (http://domenicdenicola.com)", "Veselin Todorov <hi@vesln.com>", "John Firebaugh <john.firebaugh@gmail.com>" ], "version": "6.3.0", "repository": { "type": "git", "url": "https://github.com/chaijs/chai" }, "bugs": { "url": "https://github.com/chaijs/chai/issues" }, "main": "./index.js", "scripts": { "build": "esbuild --bundle --format=esm --target=es2021 --keep-names --legal-comments=none --outfile=index.js lib/chai.js", "prebuild": "npm run clean", "format": "prettier --write lib", "pretest": "npm run lint", "test": "npm run test-node && npm run test-chrome", "test-node": "c8 --99 --check-coverage mocha --require ./test/bootstrap/index.js test/*.js", "test-chrome": "web-test-runner --playwright", "lint": "npm run lint:js && npm run lint:format", "lint:js": "eslint lib/", "lint:format": "prettier --check lib", "lint:types": "tsc", "clean": "rm -rf index.js coverage/" }, "overrides": { "c8": { "yargs": "^18.0.0" } }, "engines": { "node": ">=18" }, "devDependencies": { "@eslint/js": "^10.0.0", "@rollup/plugin-commonjs": "^29.0.0", "@web/dev-server-rollup": "^1.0.0", "@web/test-runner": "^1.0.0", "@web/test-runner-playwright": "^1.0.0", "assertion-error": "^2.0.1", "c8": "^12.0.0", "check-error": "^2.1.3", "deep-eql": "^5.0.1", "esbuild": "^0.28.0", "eslint": "^10.0.0", "eslint-plugin-jsdoc": "^65.0.0", "globals": "^17.0.0", "loupe": "^3.1.0", "mocha": "^12.0.0", "pathval": "^2.0.0", "prettier": "^3.4.2", "typescript": "~7.0.0" } }