Skip to content

Commit

Permalink
finish coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe committed Dec 7, 2020
1 parent 8ac6b3d commit 4b5823f
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 289 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ cache:
- "node_modules"
before_script: yarn build
script: yarn test
after_success: yarn test-coveralls
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
"main": "dist/rita.js",
"unpkg": "dist/rita-web.js",
"scripts": {
"clean": "rm -f dist/*.*",
"build": "yarn clean && webpack",
"test": "mocha",
"watch": "webpack --watch",
"watch.grammar": "npm-watch",
"npmpub": "np --tag beta prerelease && open dist",
"test-cov": "nyc --reporter=html mocha && open coverage/index.html",
"bump": "yarn version --no-git-tag-version --prerelease",
"bump.version": "yarn version --no-git-tag-version --patch",
"version": "yarn build && yarn test.prod",
"clean": "rm -f dist/*.*",
"build": "yarn clean && webpack",
"watch": "webpack --watch",
"test": "mocha",
"test-cov": "nyc --reporter=html mocha",
"test-coveralls": "nyc report --reporter=text-lcov | coveralls",
"test.g": "mocha ./test/*.js -g ",
"test.prod": "NODE_ENV=dist mocha ./test/*.js",
"test-g.prod": "NODE_ENV=dist mocha ./test/*.js -g",
"test.quick": "mocha './test/**/!(lexicon-tests).js'",
"watch.grammar": "npm-watch",
"test-codecov": "UNUSED: nyc report --reporter=text-lcov && codecov",
"compile": "yarn antlr4.js",
"analyze": "webpack -c config/webpack-web.js --profile --json > stats.json",
"view.stats": "webpack-bundle-analyzer stats.json",
Expand All @@ -52,7 +52,7 @@
},
"devDependencies": {
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"codecov": "^3.8.1",
"mocha": "^6.2.2",
"npm-watch": "^0.6.0",
"nyc": "^15.1.0",
Expand Down
Loading

0 comments on commit 4b5823f

Please sign in to comment.