test(mocha): Add configs for tests and IDE
.vscode/launch.json
0 → 100644
... | ... | @@ -26,9 +26,9 @@ |
}, | ||
"scripts": { | ||
"pretest": "tslint -p .", | ||
"test": "nyc mocha --opts ./mocha.opts", | ||
"test:hook": "mocha --opts ./mocha.opts", | ||
"test:debug": "mocha --opts ./mocha.opts --inspect --debug-brk", | ||
"test": "nyc mocha --opts ./mocha.opts src/**/*.spec.ts", | ||
"test:hook": "mocha --opts ./mocha.opts src/**/*.spec.ts", | ||
"test:debug": "mocha --opts ./mocha.opts --inspect --debug-brk src/**/*.spec.ts", | ||
"docs": "rimraf ./docs/*; typedoc --options ./typedoc.json ./src", | ||
"prebuild": "npm run test", | ||
"build": "rimraf ./dist/*; tsc", | ||
... | ... | @@ -49,6 +49,7 @@ |
"mocha": "^5.0.1", | ||
"nyc": "^11.4.1", | ||
"rimraf": "^2.6.2", | ||
"sinon": "^4.4.2", | ||
"source-map-support": "^0.5.3", | ||
"ts-node": "^5.0.0", | ||
"tslint": "^5.9.1", | ||
... | ... | @@ -58,10 +59,12 @@ |
}, | ||
"dependencies": { | ||
"@types/lodash": "^4.14.102", | ||
"@types/lru-cache": "^4.1.0", | ||
"@types/node": "^9.4.6", | ||
"@types/ws": "^4.0.1", | ||
"asteroid": "^2.0.3", | ||
"dotenv": "^5.0.0", | ||
"lru-cache": "^4.1.1", | ||
"ws": "^4.0.0" | ||
}, | ||
"config": { | ||
... | ... |
wallaby.js
0 → 100644
Please register or sign in to comment