57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"$schema": "http://json.schemastore.org/package",
|
|
"name": "doctest-ts",
|
|
"version": "0.6.0",
|
|
"description": "doctest support for typescript",
|
|
"main": "src/main.ts",
|
|
"bin": {
|
|
"doctest-ts": "dist/src/main.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && chmod 755 dist/src/main.js",
|
|
"test": "ts-node src/main.ts --tape src/*ts test/*ts && ts-node node_modules/.bin/tape test/*.ts src/*doctest*.ts | tap-diff",
|
|
"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",
|
|
"debug": "ts-node src/main.ts --mocha examples/example0.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": {
|
|
"chokidar": "^2.0.1",
|
|
"global": "^4.3.2",
|
|
"minimist": "^1.2.0",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chokidar": "^1.7.5",
|
|
"@types/minimist": "^1.2.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
|
|
}
|
|
}
|