forked from Octostarco/Graphin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 4.13 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
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "graphin",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"graphin": "cd packages/graphin && npm run start ",
"components": "cd packages/graphin-components && npm run start",
"icons": "cd packages/graphin-icons && npm run start",
"site": "cd ./packages/graphin-site && npm run start",
"studio": "cd ./packages/graphin-studio && npm run start",
"graphscope": "cd ./packages/graphin-graphscope && npm run start",
"docs": "NODE_OPTIONS=--max_old_space_size=4098 && dumi dev",
"docs:build": "dumi build && node cname.js",
"docs:deploy": "gh-pages -d dist",
"docs:deploy-2": "gh-pages -d ./dist -r https://github.com/antvis/graphin-docs.git",
"remove:deps": "rm -rf packages/graphin/node_modules/antd && rm -rf packages/graphin/node_modules/@ant-design/icons && rm -rf packages/graphin-components/node_modules/antd && rm -rf packages/graphin-components/node_modules/@ant-design/icons && rm -rf packages/graphin-icons/node_modules/@ant-design/icons && rm -rf packages/graphin-icons/node_modules/antd && rm -rf packages/dumi-theme-graphin/node_modules/@ant-design/icons && rm -rf packages/dumi-theme-graphin/node_modules/antd",
"bootstrap:ci": "lerna bootstrap --ignore @antv/graphin-studio --ignore graphin-site --ignore @antv/graphin-graphscope",
"build": "lerna run build",
"contributor": "git-contributor",
"clean": "lerna clean && npm run rm-package-lock",
"rm-package-lock": "rm -rf ./packages/*/package-lock.json",
"list": "lerna list",
"link": "lerna link",
"prettier": "prettier --write './packages/*/src/**/*.??'",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./packages/graphin/src ./packages/graphin-components/src",
"test": "lerna run --stream test",
"ci": "npm run lint",
"changelog": "generate-changelog",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"
},
"devDependencies": {
"@types/jest": "^27.0.3",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"conventional-changelog": "^3.1.18",
"conventional-changelog-cli": "^2.0.31",
"d3": "^6.3.1",
"d3-selection": "^2.0.0",
"dumi": "^1.1.35",
"@antv/dumi-theme-antv": "0.2.0",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^3.1.0",
"husky": "^4.2.5",
"lerna": "^3.22.1",
"lint-staged": "^10.2.2",
"mini-css-extract-plugin": "^2.4.5",
"prettier": "^2.2.1",
"react-color": "^2.19.3",
"react-pie-menu": "^0.3.0",
"styled-components": "^5.2.1",
"typescript": "^4.5.3",
"webpack-bundle-analyzer": "^4.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --ext .js,.jsx,.ts,.tsx",
"git add"
]
},
"dependencies": {
"@ant-design/create-react-context": "^0.2.5",
"@ant-design/icons": "^4.6.2",
"@ant-design/icons-react": "^2.0.1",
"@antv/gatsby-theme-antv": "latest",
"antd": "^4.12.3",
"rc-footer": "^0.6.6",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/antvis/graphin"
},
"sideEffects": [
"*.css"
],
"resolutions": {
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0"
}
}