Skip to content

Commit

Permalink
config: add coverall script to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed May 8, 2016
1 parent 77b92b6 commit bee378f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"homepage": "https://github.com/icebob/vue-form-generator",
"main": "dist/vue-form-generator.js",
"scripts": {
"prebuild": "npm run test",
"build": "webpack --config webpack.build.config.js",
"dev": "webpack-dev-server --config webpack.dev.config.js --inline --hot --content-base dev/",
"lint": "eslint --ext=.js,.vue src",
"coverall": "karma start test/unit/karma.conf.js --single-run --reporters coverage,coveralls",
"coverall": "npm run test && cat ./test/unit/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"changelog": "conventional-changelog -i CHANGELOG.md -s",
"docs": "cd docs && gitbook serve",
"unit": "karma start test/unit/karma.conf.js",
"e2e": "node test/e2e/runner.js",
"pretest": "npm run lint",
"test": "npm run unit",
"ci": "karma start test/unit/karma.conf.js --auto-watch --no-single-run --reporters=dots"
},
Expand Down

0 comments on commit bee378f

Please sign in to comment.