doctest-ts/package.json
2022-03-25 15:47:14 +01:00

58 lines
1.6 KiB
JSON

{
"$schema": "http://json.schemastore.org/package",
"name": "doctest-ts-improved",
"version": "0.7.0",
"description": "doctest support for typescript with Mocha",
"main": "src/main.ts",
"bin": {
"doctest-ts-improved": "dist/src/main.js"
},
"scripts": {
"build": "tsc && chmod 755 dist/src/main.js",
"doctest:watch": "ts-node src/main.ts --tape --watch {src,test}/*.ts | while read file; do echo tape $file; ts-node $file | tap-diff; done",
"test": "ts-node src/main.ts examples/ && ts-node src/main.ts src/ && mocha --require ts-node/register examples/*.ts src/*.ts",
"prettier": "rm -v -f {src,test}/*doctest.ts && prettier --list-different --write src/*ts* test/*ts*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danr/doctest-ts.git"
},
"keywords": [
"doctest",
"typescript",
"testing"
],
"author": "Dan Rosén",
"license": "MIT",
"bugs": {
"url": "https://github.com/danr/doctest-ts/issues"
},
"homepage": "https://github.com/danr/doctest-ts#readme",
"dependencies": {
"@types/chai": "^4.3.0",
"chai": "^4.3.6",
"global": "^4.3.2",
"mocha": "^9.2.2",
"typescript": "^4.6.2"
},
"devDependencies": {
"@types/chokidar": "^1.7.5",
"@types/minimist": "^1.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^9.4.6",
"@types/tape": "^4.2.31",
"faucet": "^0.0.1",
"prettier": "^1.11.0",
"tap-diff": "^0.1.1",
"tape": "^4.9.0",
"ts-node": "^5.0.0"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"jsxBracketSameLine": true,
"bracketSpacing": false
}
}