chore: add changeset to pkg.json scripts (so npm users don't have to use npx)
This commit is contained in:
parent
d6d3810f7c
commit
df0d22803c
1 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rocket build",
|
"build": "rocket build",
|
||||||
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
|
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
|
||||||
|
"changeset": "changeset",
|
||||||
"custom-elements-manifest": "npm run custom-elements-manifest --workspaces --if-present",
|
"custom-elements-manifest": "npm run custom-elements-manifest --workspaces --if-present",
|
||||||
"debug": "web-test-runner --watch --config web-test-runner-chrome.config.mjs",
|
"debug": "web-test-runner --watch --config web-test-runner-chrome.config.mjs",
|
||||||
"debug:firefox": "web-test-runner --watch --config web-test-runner-firefox.config.mjs",
|
"debug:firefox": "web-test-runner --watch --config web-test-runner-firefox.config.mjs",
|
||||||
|
|
@ -14,10 +15,10 @@
|
||||||
"format:prettier": "prettier \"**/*.{js,md}\" \"packages/*/package.json\" \"package.json\" --write",
|
"format:prettier": "prettier \"**/*.{js,md}\" \"packages/*/package.json\" \"package.json\" --write",
|
||||||
"postinstall": "npx patch-package && npm run custom-elements-manifest",
|
"postinstall": "npx patch-package && npm run custom-elements-manifest",
|
||||||
"lint": "run-p lint:*",
|
"lint": "run-p lint:*",
|
||||||
"lint:types": "npm run types",
|
|
||||||
"lint:eslint": "eslint --ext .js,.html .",
|
"lint:eslint": "eslint --ext .js,.html .",
|
||||||
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
|
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
|
||||||
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
||||||
|
"lint:types": "npm run types",
|
||||||
"lint:versions": "node ./scripts/lint-versions.js",
|
"lint:versions": "node ./scripts/lint-versions.js",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"release": "changeset publish",
|
"release": "changeset publish",
|
||||||
|
|
@ -54,6 +55,7 @@
|
||||||
"@types/fs-extra": "^9.0.7",
|
"@types/fs-extra": "^9.0.7",
|
||||||
"@types/glob": "^7.1.3",
|
"@types/glob": "^7.1.3",
|
||||||
"@types/istanbul-reports": "^3.0.0",
|
"@types/istanbul-reports": "^3.0.0",
|
||||||
|
"@types/mocha": "^10.0.0",
|
||||||
"@types/prettier": "^2.2.1",
|
"@types/prettier": "^2.2.1",
|
||||||
"@web/dev-server": "^0.1.8",
|
"@web/dev-server": "^0.1.8",
|
||||||
"@web/dev-server-legacy": "^0.1.7",
|
"@web/dev-server-legacy": "^0.1.7",
|
||||||
|
|
@ -99,7 +101,6 @@
|
||||||
"ssl-root-cas": "^1.3.1",
|
"ssl-root-cas": "^1.3.1",
|
||||||
"typescript": "~4.8.4",
|
"typescript": "~4.8.4",
|
||||||
"whatwg-fetch": "^3.0.0",
|
"whatwg-fetch": "^3.0.0",
|
||||||
"@types/mocha": "^10.0.0",
|
|
||||||
"wireit": "^0.7.2"
|
"wireit": "^0.7.2"
|
||||||
},
|
},
|
||||||
"bundlesize": [
|
"bundlesize": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue