-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
52 lines (52 loc) · 1.55 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
{
"name": "react-sunshine-admin",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "turbo run stub",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:prettier": "prettier --write .",
"lint:stylelint": "stylelint \"**/*.{css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
"prepare": "husky install",
"preview": "vite preview",
"sunshine:build": "pnpm --filter ./packages/sunshine-admin run build",
"sunshine:dev": "pnpm --filter ./packages/sunshine-admin run dev"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"*.{scss,less,styl,html}": [
"prettier --write",
"stylelint --fix"
],
"*.md": [
"prettier --write"
]
},
"dependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"eslint": "^8.56.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.5.0",
"stylelint": "^16.4.0"
},
"devDependencies": {
"@sunshine/eslint-config": "workspace:*",
"@sunshine/stylelint-config": "workspace:*",
"@sunshine/ts-config": "workspace:*",
"@sunshine/types": "workspace:*",
"@sunshine/vite-config": "workspace:*",
"turbo": "^1.13.3",
"unbuild": "^2.0.0"
}
}