Skip to content

Commit

Permalink
Cleanup the package.json scripts section (#4193)
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored Jan 4, 2023
1 parent 249fc65 commit 4fab74b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ docs-test: docs-clean docs-linkcheckbroken docs-vale ## Clean docs build, then
storybook-build:
yarn build-storybook -o docs/_build/storybook

.PHONY: patches
patches:
/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true

##### Release

.PHONY: corepackagebump
Expand Down
1 change: 1 addition & 0 deletions news/4193.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cleanup `package.json` scripts section @sneridagh
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,12 @@
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix 'src/**/*.{js,jsx,json}'",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n",
"i18n:ci": "yarn i18n && git diff -G'^[^\"POT]' --exit-code",
"stylelint:patches": "patch -p0 -N node_modules/stylelint/lib/getPostcssResult.js < patches/fixstylelint.patch || true",
"patches": "/bin/bash patches/patchit.sh > /dev/null 2>&1 ||true",
"deduplicate": "yarn-deduplicate yarn.lock",
"dry-release": "release-it --dry-run",
"release": "release-it",
"release-major-alpha": "release-it major --preRelease=alpha",
"release-alpha": "release-it --preRelease=alpha",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"cypress:open": "NODE_ENV=production cypress open"
"build-storybook": "build-storybook"
},
"bundlewatch": {
"files": [
Expand Down

0 comments on commit 4fab74b

Please sign in to comment.