mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
ci(npm): added commitlint and standard-version
This commit is contained in:
19
package.json
19
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rickvanlieshout-com",
|
||||
"version": "0.5.0",
|
||||
"version": "1.0.0",
|
||||
"description": "My personal blog / website",
|
||||
"keywords": [
|
||||
"gatsby",
|
||||
@@ -18,6 +18,7 @@
|
||||
"author": "Rick van Lieshout <info@rickvanlieshout.com>",
|
||||
"scripts": {
|
||||
"build": "npm run clean && gatsby build",
|
||||
"commit": "git-cz",
|
||||
"clean": "rimraf .cache public",
|
||||
"format": "npm run format:ts && npm run format:scss",
|
||||
"format:scss": "stylelint \"src/**/*.scss\" --fix",
|
||||
@@ -27,6 +28,10 @@
|
||||
"lint:staged": "lint-staged",
|
||||
"lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
|
||||
"prepare": "husky install",
|
||||
"release": "standard-version",
|
||||
"release:minor": "standard-version --release-as minor",
|
||||
"release:patch": "standard-version --release-as patch",
|
||||
"release:major": "standard-version --release-as major",
|
||||
"reset-snapshots": "find -type f -name '*.snap*' -delete && npm run test",
|
||||
"semantic-release": "semantic-release",
|
||||
"serve": "gatsby serve",
|
||||
@@ -83,6 +88,8 @@
|
||||
"reading-time": "^1.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/config-conventional": "^17.2.0",
|
||||
"@commitlint/cz-commitlint": "^17.2.0",
|
||||
"@jest/globals": "^29.1.2",
|
||||
"@mastermindzh/eslint-config": "^1.0.2",
|
||||
"@mastermindzh/prettier-config": "^1.0.0",
|
||||
@@ -104,6 +111,8 @@
|
||||
"autoprefixer": "^10.4.12",
|
||||
"browserslist": "^4.21.4",
|
||||
"codecov": "^3.8.3",
|
||||
"commitizen": "^4.2.5",
|
||||
"commitlint": "^17.2.0",
|
||||
"concurrently": "^7.4.0",
|
||||
"eslint": "^8.25.0",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
@@ -136,11 +145,17 @@
|
||||
"rimraf": "3.0.2",
|
||||
"sass": "^1.55.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"standard-version": "^9.5.0",
|
||||
"stylelint": "^14.13.0",
|
||||
"stylelint-config-recommended-scss": "^7.0.0",
|
||||
"stylelint-order": "^5.0.0",
|
||||
"stylelint-scss": "^4.3.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "@commitlint/cz-commitlint"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user