Merge pull request #116 from verdaccio/unit-testing-coverage

Unit testing coverage
This commit is contained in:
jotadeveloper 2017-02-04 09:36:26 +01:00 committed by GitHub
commit 9f1b1619e8
2 changed files with 18 additions and 8 deletions

10
.gitignore vendored
View File

@ -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*

View File

@ -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,7 +70,8 @@
],
"scripts": {
"test": "eslint . && mocha ./test/functional ./test/unit",
"test-travis": "eslint . && mocha -R spec ./test/functional ./test/unit",
"test:coverage": "nyc --reporter=html --reporter=text mocha -R spec ./test/functional ./test/unit",
"test-travis": "eslint . && npm run test:coverage",
"test-only": "mocha ./test/functional ./test/unit",
"lint": "eslint ."
},