-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
56 lines (56 loc) · 1.8 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
{
"name": "contain",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"prepare": "husky install",
"clean-install": "rm -rf ./{packages}/*/node_modules node_modules && pnpm i",
"clean-dist": "find ./packages -type d -name 'dist' -exec rm -rf {} '+'",
"dev": "cd packages/lowcode-platform && pnpm dev",
"dev:ui": "cd packages/lowcode-platform && pnpm dev:ui",
"dev:ui:local": "cd packages/lowcode-platform && pnpm dev:ui:local",
"dev:lc": "cd packages/c-ui-material && pnpm lowcode:dev",
"pkg": "sh ./scripts/build-pkg.sh",
"watch": "sh ./scripts/build-pkg-watch.sh",
"watch:single": "pnpm run --parallel -F=@brick/* build:watch",
"build:material": "pnpm -F=contain-ui-material lowcode:build",
"build:platform": "pnpm -F=lowcode-platform build",
"build": "pnpm run build:material && pnpm run build:platform",
"format": "prettier --write .",
"lint": "eslint '{packages,projects}/*/{src,types}/**/*.{ts,tsx,js}'",
"ptest": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
"node": ">=14",
"pnpm": ">=7"
},
"workspaces": [
"packages/*"
],
"keywords": [],
"author": "",
"license": "ISC",
"lint-staged": {
"{packages,projects}/*/{src,types}/**/*.{ts,tsx,js}": [
"eslint --fix"
],
"{packages,projects}/**/*.{d.ts,config.ts,config.*.ts}": [
"eslint --fix --ext .ts"
],
"*.{ts,tsx,js,json,md,scss,html}": [
"prettier --write --ignore-unknown"
]
},
"devDependencies": {
"@types/node": "^18.11.18",
"eslint": "^7.32.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"lint-staged": "^12.4.2",
"prettier": "^2.6.2",
"typescript": "4.7.4",
"zod-validation-error": "2.1.0"
}
}