-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.3 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
{
"private": false,
"name": "i18n-framework-template",
"version": "0.0.3",
"description": "react+react-router项目模板",
"author": "XueYou",
"license": "ISC",
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky",
"postinstall": "turbo stub",
"format": "prettier --write \"**/*.{js,ts,tsx,md,css,scss}\"",
"lint": "npm run lint:eslint && npm run lint:stylelint",
"lint:eslint": "eslint .",
"lint:stylelint": "stylelint ./**/*.{scss,css,less,sass}",
"dev": "turbo dev --log-prefix=none",
"dev:ssr": "turbo dev:ssr --log-prefix=none",
"build": "turbo build --log-prefix=none",
"build:ssr": "turbo build:ssr --log-prefix=none",
"build:github": "turbo build:github --log-prefix=none",
"build:ssr:github": "turbo build:ssr:github --log-prefix=none",
"preview": "turbo preview --log-prefix=none",
"analyze": "turbo analyze --log-prefix=none"
},
"keywords": [
"TurboRepo",
"TypeScript",
"React",
"React-Router",
"Template"
],
"branchlint": {
"allowed": [
"master",
"main",
"test",
"dev",
"next",
"preonline"
],
"disallowed": [],
"prefixes": [
"feature",
"hotfix",
"private"
],
"separator": [
"/"
],
"msgBranchDisallowed": "Please make sure your branch splitter is '/' and it starts with feature, hotfix, or private"
},
"lint-staged": {
"*.{js,mjs,jsx,ts,tsx}": [
"eslint --fix --max-warnings 0"
],
"*.{scss,css,less,sass}": [
"stylelint --fix --max-warnings 0",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"commitlint": {
"extends": "./framework/lint-set/commitlint.config.mjs"
},
"stylelint": {
"extends": "./framework/lint-set/stylelint.config.mjs",
"ignorePath": "./framework/lint-set/.stylelintignore"
},
"engines": {
"node": ">=18.17.0",
"npm": ">=9.6.7"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@framework/lint-set": "workspace:^",
"@types/node": "^22.10.5",
"branchlint": "^0.0.2",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"stylelint": "^16.12.0",
"turbo": "^2.3.3"
},
"dependencies": {
"typescript": "^5.7.2"
}
}