Skip to content

Commit 39b6b12

Browse files
committed
test: add test.unit
Fixes #122
1 parent 3efc263 commit 39b6b12

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515
"test.format": "prettier . --check",
1616
"lint": "eslint . --fix",
1717
"test.lint": "eslint .",
18-
"test": "npm run build && atom --test spec",
18+
"test": "npm run test.unit && npm run test.integration",
19+
"test.unit": "npm run tsc && atom --test spec",
20+
"test.integration": "npm run build && atom --test spec",
1921
"clean": "shx rm -rf dist",
22+
"tsc": "tsc -p ./lib/tsconfig.json",
2023
"dev": "npm run clean && cross-env NODE_ENV=development cross-env BABEL_KEEP_MODULES=true rollup -c -w",
2124
"build": "npm run clean && cross-env NODE_ENV=production cross-env BABEL_KEEP_MODULES=true rollup -c",
2225
"build-commit": "build-commit -o dist",

0 commit comments

Comments
 (0)