Skip to content

Commit

Permalink
chore: add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Apr 12, 2020
1 parent 68e47fd commit fe038fe
Show file tree
Hide file tree
Showing 13 changed files with 1,766 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
tsconfig.tsbuildinfo
.cache
coverage
.nyc_output
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "",
"scripts": {
"test": "ava",
"test:coverage": "nyc --reporter=lcov --reporter=text --all --include='**/**/*.ts' ava",
"build": "tsc -b ./",
"lint:staged": "lint-staged --no-stash",
"postinstall": "npm run build"
Expand All @@ -18,6 +19,7 @@
"dependencies": {
"ava": "^3.5.0",
"lint-staged": "^10.1.3",
"nyc": "^15.0.1",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"ts-node": "^8.6.2",
Expand All @@ -37,7 +39,7 @@
"ts"
],
"require": [
"ts-node/register"
"ts-node/register/transpile-only"
]
}
}
2 changes: 1 addition & 1 deletion packages/core/cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require("rimraf");
require("chalk");
require("@opaline/core");
require("read-pkg-up");
var compiler = require("./compiler-dad69f08.js");
var compiler = require("./compiler-655a71b0.js");
require("@babel/parser");
require("@babel/traverse");
require("doctrine");
Expand Down
Loading

0 comments on commit fe038fe

Please sign in to comment.