Skip to content

Commit

Permalink
improving tests scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Desmaisons committed Feb 27, 2019
1 parent 69cf8c4 commit df62b2f
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ test/tmp
/test/tmp
/examples/src
/examples/libs/
/coverage
122 changes: 109 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build": "vue-cli-service build --name vuedraggable --entry ./src/vuedraggable.js --target lib",
"lint": "vue-cli-service lint src example",
"prepublishOnly": "npm run lint && npm run build",
"test:unit": "vue-cli-service test:unit"
"test:unit": "vue-cli-service test:unit --coverage",
"test:coverage": "vue-cli-service test:unit --coverage --verbose && codecov"
},
"keywords": [
"vue",
Expand All @@ -37,6 +38,7 @@
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"bootstrap": "^4.3.1",
"codecov": "^3.2.0",
"component-fixture": "^0.4.1",
"element-ui": "^2.5.4",
"eslint": "^5.8.0",
Expand Down

0 comments on commit df62b2f

Please sign in to comment.