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:
@@ -16,6 +16,9 @@
|
|||||||
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
|
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
|
||||||
"lint:prettier": "prettier --list-different \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
|
"lint:prettier": "prettier --list-different \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
|
||||||
"open": "open http://localhost:3000",
|
"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: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",
|
"release:next": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint && lerna publish --dist-tag next",
|
||||||
"serve": "cd ./site && next",
|
"serve": "cd ./site && next",
|
||||||
|
Reference in New Issue
Block a user