Skip to content

Commit 972e999

Browse files
committed
add scripts to publish latest & beta
1 parent 199ad0d commit 972e999

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"clean": "rimraf dist coverage",
2121
"test": "jest",
2222
"prettier": "prettier --write '**/*.{ts,js,json,css,md}' --ignore-path .gitignore",
23-
"lint": "tslint -c tslint.json -p tsconfig.json -t stylish"
23+
"lint": "tslint -c tslint.json -p tsconfig.json -t stylish",
24+
"publish:latest": "yarn build && yarn publish",
25+
"publish:beta": "yarn build && yarn publish --tag beta"
2426
},
2527
"devDependencies": {
2628
"@types/jest": "^23.3.2",

0 commit comments

Comments
 (0)