mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: improve lint, release workflows (#1627)
* Add standard-version to automate releases * Remove husky * Add lint script; run lint in GitHub Actions * Run lint script * Add Enrico to contributors
This commit is contained in:
parent
c1c8309443
commit
6d2e21f027
12 changed files with 1164 additions and 460 deletions
20
package.json
20
package.json
|
@ -12,12 +12,13 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test:types": "svelte-check --workspace tests",
|
||||
"lint": "prettier --write \"**/*.{svelte,md,js,json,ts}\"",
|
||||
"build:css": "node scripts/build-css",
|
||||
"build:docs": "node scripts/build-docs",
|
||||
"build:lib": "rollup -c",
|
||||
"prepack": "yarn build:docs & yarn build:lib",
|
||||
"format": "prettier --write \"./**/*.{svelte,js,md}\"",
|
||||
"prepare": "husky install"
|
||||
"prepack": "yarn build:docs & yarn build:lib",
|
||||
"release": "standard-version && yarn prepack"
|
||||
},
|
||||
"dependencies": {
|
||||
"flatpickr": "4.6.9"
|
||||
|
@ -29,8 +30,6 @@
|
|||
"autoprefixer": "^10.4.8",
|
||||
"carbon-components": "10.56.0",
|
||||
"carbon-icons-svelte": "^11.2.0",
|
||||
"husky": "^8.0.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"postcss": "^8.4.16",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier-plugin-svelte": "^2.7.0",
|
||||
|
@ -38,16 +37,16 @@
|
|||
"rollup-plugin-svelte": "^7.1.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"sass": "^1.49.11",
|
||||
"standard-version": "^9.5.0",
|
||||
"sveld": "^0.18.0",
|
||||
"svelte": "^3.51.0",
|
||||
"svelte-check": "^2.8.1",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{svelte,md,js,json}": [
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{svelte,js,md}": "prettier --write"
|
||||
"standard-version": {
|
||||
"skip": {
|
||||
"commit": true
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"svelteStrictMode": true
|
||||
|
@ -72,7 +71,8 @@
|
|||
"css"
|
||||
],
|
||||
"contributors": [
|
||||
"Josef Aidt (https://github.com/josefaidt)",
|
||||
"Eric Liu (https://github.com/metonym)",
|
||||
"Josef Aidt (https://github.com/josefaidt)"
|
||||
"Enrico Sacchetti (https://github.com/theetrain)"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue