reorder npm scripts
This commit is contained in:
10
package.json
10
package.json
@@ -12,15 +12,15 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "yarn --cwd ./docs start",
|
"start": "yarn --cwd ./docs start",
|
||||||
"build:docs": "yarn --cwd ./docs build",
|
|
||||||
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done",
|
|
||||||
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done",
|
|
||||||
"clean:packages": "rm -rf ./packages/*/dist",
|
|
||||||
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
|
||||||
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
||||||
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
|
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
|
||||||
"test:open": "cypress open --project tests",
|
"test:open": "cypress open --project tests",
|
||||||
"test": "cypress run --project tests",
|
"test": "cypress run --project tests",
|
||||||
|
"build:docs": "yarn --cwd ./docs build",
|
||||||
|
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done",
|
||||||
|
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done",
|
||||||
|
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
||||||
|
"clean:packages": "rm -rf ./packages/*/dist",
|
||||||
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"
|
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user