forked from antvis/G6
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 3.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
{
"name": "g6",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build:demos": "cd ./packages/pc && npm run demos",
"build:site": "cd ./packages/site && npm run site:build",
"build:core": "cd ./packages/core && npm run build",
"build:element": "cd ./packages/element && npm run build",
"build:plugin": "cd ./packages/plugin && npm run build",
"build:pc": "cd ./packages/pc && npm run build",
"build:g6": "cd ./packages/g6 && npm run build",
"build:react-node": "cd ./packages/react-node && npm run build",
"build:all": "npm run build:core && npm run build:element && npm run build:plugin && npm run build:react-node && npm run build:pc && npm run build:g6",
"lint:core": "cd ./packages/core && npm run lint",
"lint:element": "cd ./packages/element && npm run lint",
"lint:plugin": "cd ./packages/plugin && npm run lint",
"lint:pc": "cd ./packages/pc && npm run lint",
"lint:g6": "cd ./packages/g6 && npm run lint",
"lint:all": "npm run lint:core && npm run lint:element && npm run lint:plugin && npm run lint:pc && npm run lint:g6",
"build": "npm run build:all",
"start": "cd ./packages/site && npm run start",
"lint": "npm run lint:all",
"test:core": "cd ./packages/core && npm run test",
"test:element": "cd ./packages/element && npm run test",
"test:plugin": "cd ./packages/plugin && npm run test",
"test:pc": "cd ./packages/pc && npm run test",
"test": "npm run test:core && npm run test:element && npm run test:plugin && npm run test:pc",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"pretty-quick": "pretty-quick",
"clean": "rimraf node_modules",
"ci": "npm run clean && npm run clean:modules && npm install && npm run bootstrap && npm run build:all && npm run lint:all && npm run test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && lerna run --concurrency 1 --stream precommit"
}
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,md,json}": [
"pretty-quick —-staged"
]
},
"dependencies": {
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^4.3.8",
"lerna": "^3.19.0",
"lint-staged": "^10.5.4",
"monaco-editor": "0.29.1",
"monaco-editor-webpack-plugin": "5.0.0",
"normalize-url": "^7.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react-monaco-editor": "0.40.0",
"rimraf": "^3.0.2",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^5.3.3"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/react": "^16.14.54",
"@types/react-dom": "^16.9.24",
"@umijs/fabric": "^2.14.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^27.0.0",
"pre-commit": "^1.2.2",
"react-scripts": "3.1.2"
},
"overrides": {
"@types/react": "^16.14.54",
"monaco-editor": "0.29.1",
"monaco-editor-webpack-plugin": "5.0.0",
"react-monaco-editor": "0.40.0",
"normalize-url": "^7.2.0",
"sharp": "^0.30.4",
"electron": "23.3.13"
},
"packageManager": "[email protected]"
}