Skip to content

Commit dd2d6a7

Browse files
committed
add build/release scirpts
1 parent 9068491 commit dd2d6a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
},
3333
"scripts": {
3434
"ts-node-dev": "node ./lib/bin",
35-
"tsnd": "yarn ts-node-dev",
36-
"test": "ts-node -T node_modules/mocha/bin/mocha test/*.test.ts",
35+
"build": "tsc -p tsconfig.build.json",
36+
"release": "np",
37+
"test": "yarn build && ts-node -T node_modules/mocha/bin/mocha test/*.test.ts",
3738
"test-dev": "yarn ts-node-dev -T --respawn --deps --watch lib node_modules/mocha/bin/mocha test/*.test.ts --output",
3839
"test-docker": "docker-compose up",
3940
"ci": "yarn test",

0 commit comments

Comments
 (0)