1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 06:31:28 +02:00

Improve release scripts in package.json

This commit is contained in:
Sunny Hirai
2020-12-11 13:06:00 -08:00
parent a4cbc7ed2d
commit e70b488253

View File

@@ -16,6 +16,9 @@
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
"lint:prettier": "prettier --list-different \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
"open": "open http://localhost:3000",
"prerelease": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint",
"release:publish:latext": "lerna publish",
"release:publish:next": "lerna publish --dist-tag next",
"release:latest": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish",
"release:next": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish --dist-tag next",
"serve": "cd ./site && next",