-
- Téléchargements
Merge pull request #471 from Half-Shot/hs/nyc
Replace istanbul with nyc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- .nycrc 5 ajouts, 0 suppression.nycrc
- .travis.yml 26 ajouts, 21 suppressions.travis.yml
- package-lock.json 1251 ajouts, 36 suppressionspackage-lock.json
- package.json 6 ajouts, 3 suppressionspackage.json
- src/workers/WorkerCom.ts 0 ajout, 85 suppressionssrc/workers/WorkerCom.ts
- test/mocha.opts 4 ajouts, 0 suppressiontest/mocha.opts
.nycrc
0 → 100644
Ce diff est replié.
... | ... | @@ -4,9 +4,9 @@ |
"description": "A bridge between Matrix and Discord", | ||
"main": "discordas.js", | ||
"scripts": { | ||
"test": "npm run-script build && mocha --opts test/mocha.opts build/test/config.js build/test", | ||
"test": "npm run-script build && mocha --opts test/mocha.opts", | ||
"lint": "tslint --project ./tsconfig.json -t stylish", | ||
"coverage": "istanbul --include-all-sources cover -x build/src/discordas.js _mocha -- build/test/ -R spec", | ||
"coverage": "tsc && nyc mocha", | ||
"build": "tsc", | ||
"start": "npm run-script build && node ./build/src/discordas.js -p 9005 -c config.yaml", | ||
"addbot": "node ./build/tools/addbot.js", | ||
... | ... | @@ -55,6 +55,7 @@ |
"winston-daily-rotate-file": "^3.3.0" | ||
}, | ||
"devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^0.1.3", | ||
"@types/chai": "^3.4.35", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.12.0", | ||
... | ... | @@ -63,8 +64,10 @@ |
"eslint": "^3.8.1", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^5.2.0", | ||
"nyc": "^14.1.1", | ||
"proxyquire": "^1.7.11", | ||
"source-map-support": "^0.5.9", | ||
"source-map-support": "^0.5.12", | ||
"ts-node": "^8.1.0", | ||
"why-is-node-running": "^2.0.3" | ||
} | ||
} |
src/workers/WorkerCom.ts
supprimé
100644 → 0
Veuillez vous inscrire ou vous se connecter pour commenter