yarn: rename "build_and_publish" script to friendlier "release"

This commit is contained in:
Alice Gaudon 2020-11-02 18:04:31 +01:00
parent f33c3f04eb
commit 9d30b16536

View File

@ -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": {