mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Add istanbul unit testing coverage
This commit is contained in:
parent
6bbeff6d05
commit
0470a02b2f
2 changed files with 17 additions and 7 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
@ -5,11 +5,19 @@ sinopia-*.tgz
|
|||
###
|
||||
!bin/sinopia
|
||||
test-storage*
|
||||
|
||||
node_modules
|
||||
|
||||
|
||||
# Istanbul
|
||||
coverage/
|
||||
.nyc*
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode/*
|
||||
.jscsrc
|
||||
.jshintrc
|
||||
jsconfig.json
|
||||
|
||||
|
||||
# Yarn
|
||||
yarn*
|
14
package.json
14
package.json
|
@ -43,20 +43,21 @@
|
|||
"unix-crypt-td-js": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rimraf": "^2.5.2",
|
||||
"bluebird": "^3.3.5",
|
||||
"mocha": "^2.4.5",
|
||||
"eslint": "^2.9.0",
|
||||
"browserify": "^13.0.0",
|
||||
"browserify-handlebars": "^1.0.0",
|
||||
"eslint": "^2.9.0",
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-cli": "^1.2.0",
|
||||
"grunt-browserify": "^5.0.0",
|
||||
"grunt-cli": "^1.2.0",
|
||||
"grunt-contrib-less": "^1.3.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"unopinionate": "^0.0.4",
|
||||
"mocha": "^2.4.5",
|
||||
"nyc": "^10.1.2",
|
||||
"onclick": "^0.1.0",
|
||||
"transition-complete": "^0.0.2"
|
||||
"rimraf": "^2.5.2",
|
||||
"transition-complete": "^0.0.2",
|
||||
"unopinionate": "^0.0.4"
|
||||
},
|
||||
"keywords": [
|
||||
"private",
|
||||
|
@ -69,6 +70,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test": "eslint . && mocha ./test/functional ./test/unit",
|
||||
"test:coverage": "nyc --reporter=html --reporter=text mocha -R spec ./test/functional ./test/unit",
|
||||
"test-travis": "eslint . && mocha -R spec ./test/functional ./test/unit",
|
||||
"test-only": "mocha ./test/functional ./test/unit",
|
||||
"lint": "eslint ."
|
||||
|
|
Loading…
Reference in a new issue