yarn: rename "build_and_publish" script to friendlier "release"
This commit is contained in:
parent
f33c3f04eb
commit
9d30b16536
@ -15,7 +15,7 @@
|
||||
"scripts": {
|
||||
"test": "jest --verbose --runInBand",
|
||||
"build": "(test ! -d dist || rm -r dist) && tsc && cp package.json dist/ && cp yarn.lock dist/ && cp -r config dist/ && cp -r views dist/ && mkdir dist/types && cp src/types/* dist/types/",
|
||||
"build_and_publish": "yarn lint && yarn test && yarn build && cd dist && yarn publish",
|
||||
"release": "yarn lint && yarn test && yarn build && cd dist && yarn publish",
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user