File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 5
5
"homepage" : " https://github.com/icebob/vue-form-generator" ,
6
6
"main" : " dist/vue-form-generator.js" ,
7
7
"scripts" : {
8
+ "prebuild" : " npm run test" ,
8
9
"build" : " webpack --config webpack.build.config.js" ,
9
10
"dev" : " webpack-dev-server --config webpack.dev.config.js --inline --hot --content-base dev/" ,
10
11
"lint" : " eslint --ext=.js,.vue src" ,
11
- "coverall" : " karma start test/ unit/karma.conf.js --single-run --reporters coverage, coveralls" ,
12
+ "coverall" : " npm run test && cat ./test/ unit/coverage/lcov.info | ./node_modules/ coveralls/bin/coveralls.js " ,
12
13
"changelog" : " conventional-changelog -i CHANGELOG.md -s" ,
13
14
"docs" : " cd docs && gitbook serve" ,
14
15
"unit" : " karma start test/unit/karma.conf.js" ,
15
16
"e2e" : " node test/e2e/runner.js" ,
17
+ "pretest" : " npm run lint" ,
16
18
"test" : " npm run unit" ,
17
19
"ci" : " karma start test/unit/karma.conf.js --auto-watch --no-single-run --reporters=dots"
18
20
},
You can’t perform that action at this time.
0 commit comments