Skip to content

Commit 77e7c70

Browse files
Add publish npm script (#582)
* Add publish npm script * Update package.json Co-Authored-By: Anton Gilgur <[email protected]> Co-authored-by: Anton Gilgur <[email protected]>
1 parent 82e764f commit 77e7c70

2 files changed

Lines changed: 1011 additions & 20 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"lint:post-build": "node dist/index.js lint src test --ignore-pattern 'test/tests/lint'",
2828
"test": "yarn build && yarn test:post-build",
2929
"test:post-build": "node dist/index.js test --config ./test/jest.config.json",
30-
"start": "tsc -p tsconfig.json --watch"
30+
"start": "tsc -p tsconfig.json --watch",
31+
"release": "np"
3132
},
3233
"files": [
3334
"dist",
@@ -113,6 +114,7 @@
113114
"@types/semver": "^7.1.0",
114115
"doctoc": "^1.4.0",
115116
"husky": "^4.2.2",
117+
"np": "^6.2.0",
116118
"pretty-quick": "^2.0.0",
117119
"ps-tree": "^1.2.0",
118120
"react": "^16.8.6",

0 commit comments

Comments
 (0)