-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) Β· 1.62 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": "root",
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean --yes",
"l-changed": "lerna changed",
"l-publish": "lerna publish",
"l-publish-package": "lerna publish from-package",
"lint": "eslint packages --fix --ext .js",
"lint:ts": "tsc --noEmit && eslint packages --ext .ts,.tsx",
"prettier": "prettier --write 'packages/**/*.{js,json,yml,yaml,css,scss,less,ts,tsx,md}'",
"commit": "npx git-cz",
"lint-staged": "lint-staged --allow-empty",
"prepare": "husky install",
"ncu": "npx npm-check-updates -u",
"test:eslint-config-preset": "ts-node ./packages/eslint-config-preset/__tests__/app.ts",
"test:design-tokens-bailu": "ts-node ./packages/design-tokens-bailu/__tests__/index.ts",
"gen:dt:bailu": "ts-node --project tsconfig.nodejs.json ./scripts/design-tokens/index.ts bailu"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/clean-css": "^4.2.6",
"@types/eslint": "^8.44.1",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.16",
"clean-css": "^5.3.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"react": "^18.2.0",
"terser": "^5.19.2",
"ts-node": "^10.9.1",
"typescript": "~5.2.0"
},
"resolutions": {
"prettier": "^3.0.0"
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"packages/**.{yml,yaml,css,scss,less,md}": [
"prettier --write"
],
"packages/**.{js,jsx,json,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"prettier": "@fruits-chain/prettier-config-preset"
}