forked from carbon-design-system/gatsby-theme-carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.29 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "gatsby-theme-carbon-workspace",
"private": true,
"version": "4.1.6",
"packageManager": "[email protected]",
"repository": {
"url": "[email protected]:carbon-design-system/gatsby-theme-carbon.git",
"type": "git"
},
"license": "Apache 2.0",
"engines": {
"node": "18.x || 20.x"
},
"workspaces": [
"packages/*"
],
"scripts": {
"dev": "yarn workspace example dev",
"dev:clean": "yarn workspace example dev:clean",
"build": "yarn workspace example build",
"build:clean": "yarn workspace example build:clean",
"build:prefix": "yarn workspace example build --prefix-paths",
"serve": "yarn build && yarn workspace example serve",
"serve:prefix": "yarn build:prefix && yarn workspace example serve --prefix-paths",
"now-build": "yarn workspace example build",
"format": "prettier --write \"**/*.{css,scss,json,html,yaml,mdx}\"",
"format:ci": "prettier --check \"**/*.{css,scss,json,html,yaml,mdx}\"",
"lint": "eslint . && stylelint \"packages/**/*.scss\"",
"lint:fix": "yarn lint:js && yarn lint:scss",
"lint:js": "eslint . --fix",
"lint:scss": "stylelint \"packages/**/*.scss\" --fix",
"release": "release-it",
"release:pre": "release-it --preRelease=next",
"release:ci": "release-it --ci",
"release:dry": "release-it --dry-run",
"validate": "yarn format:ci && yarn lint"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release-it": {
"plugins": {
"@release-it-plugins/workspaces": true,
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# Changelog",
"preset": "conventionalcommits"
}
},
"github": {
"release": true
},
"git": {
"pushRepo": "[email protected]:carbon-design-system/gatsby-theme-carbon.git",
"commitMessage": "chore: release ${version} [skip ci],"
},
"npm": false
},
"eslintIgnore": [
"**/node_modules/",
"**/public/",
"**/.cache/",
"**/build/"
],
"husky": {
"hooks": {
"commit-msg": "commitlint --edit $HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"*.{css,scss,json,html,yaml}": [
"prettier --write"
],
"*.{css,scss}": [
"stylelint --fix"
]
},
"dependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/conventional-changelog": "^8.0.1",
"babel-eslint": "^10.1.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-wesbos": "4.0.1",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"lerna": "^8.1.4",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"prettier-config-carbon": "^0.11.0",
"release-it": "^17.3.0",
"stylelint": "^16.6.1",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-scss": "^6.3.1"
}
}