mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-28 13:12:16 +02:00
feat(linting): semantic commits and releases
This commit is contained in:
30
package.json
30
package.json
@@ -21,14 +21,31 @@
|
||||
"format:scss": "stylelint \"src/**/*.scss\" --fix",
|
||||
"format:ts": "prettier --write .",
|
||||
"lint": "npm run lint:ts && npm run lint:scss",
|
||||
"lint:staged": "lint-staged",
|
||||
"lint:commit": "commitlint --edit",
|
||||
"lint:scss": "stylelint \"src/**/*.scss\"",
|
||||
"lint:ts": "eslint \"src\" --ext .tsx,.ts && prettier --check .",
|
||||
"start": "npm run clean && gatsby develop",
|
||||
"prepare": "husky install",
|
||||
"semantic-release": "semantic-release",
|
||||
"serve": "gatsby serve",
|
||||
"start": "npm run clean && gatsby develop",
|
||||
"test": "jest --config ./internal/testing/jest-config.ts",
|
||||
"test:coverage": "jest --coverage --config ./internal/testing/jest-config.ts",
|
||||
"test:watch": "jest --watch --config ./internal/testing/jest-config.ts"
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{tsx?,ts?}": [
|
||||
"npm run format:ts"
|
||||
],
|
||||
"*.{css?,scss?}": [
|
||||
"npm run format:scss"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/gatsby": "^6.19.6",
|
||||
"@sentry/tracing": "^6.19.6",
|
||||
@@ -65,7 +82,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alxshelepenok/eslint-config": "^1.0.27",
|
||||
"@commitlint/cli": "^16.2.3",
|
||||
"@commitlint/config-conventional": "^16.2.1",
|
||||
"@jest/globals": "^27.5.1",
|
||||
"@semantic-release/exec": "6.0.3",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"@swc/core": "^1.2.165",
|
||||
"@swc/jest": "^0.2.20",
|
||||
"@types/gatsby-transformer-remark": "^2.9.1",
|
||||
@@ -82,6 +103,7 @@
|
||||
"browserslist": "^4.20.2",
|
||||
"codecov": "^3.8.3",
|
||||
"concurrently": "^7.1.0",
|
||||
"conventional-changelog-conventionalcommits": "4.6.3",
|
||||
"eslint": "^8.13.0",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
@@ -93,10 +115,12 @@
|
||||
"eslint-plugin-react": "^7.29.4",
|
||||
"eslint-plugin-react-hooks": "^4.4.0",
|
||||
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||||
"husky": "7.0.4",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
"jest": "^27.5.1",
|
||||
"jest-cli": "^27.5.1",
|
||||
"jest-svg-transformer": "^1.0.0",
|
||||
"lint-staged": "^12.3.8",
|
||||
"lost": "8.3.1",
|
||||
"postcss": "^8.4.12",
|
||||
"postcss-scss": "^4.0.3",
|
||||
@@ -105,6 +129,7 @@
|
||||
"react-test-renderer": "^18.0.0",
|
||||
"rimraf": "3.0.2",
|
||||
"sass": "^1.50.0",
|
||||
"semantic-release": "^19.0.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"stylelint": "^14.7.0",
|
||||
"stylelint-config-recommended-scss": "^6.0.0",
|
||||
@@ -112,5 +137,8 @@
|
||||
"stylelint-scss": "^4.2.0",
|
||||
"ts-node": "^10.7.0",
|
||||
"typescript": "^4.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.15.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user