-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 2.21 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
{
"name": "@sunmao-ui/echarts-lib",
"version": "0.2.0",
"homepage": "https://github.com/webzard-io/sunmao-ui-echarts-lib",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webzard-io/sunmao-ui-echarts-lib.git"
},
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/iife/index.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib"
],
"scripts": {
"dev": "vite",
"typings": "tsc --emitDeclarationOnly",
"build": "tsup && npm run visualize",
"serve": "vite preview",
"lk": "yarn link @sunmao-ui/runtime @sunmao-ui/editor @sunmao-ui/core",
"unlk": "yarn unlink @sunmao-ui/runtime @sunmao-ui/editor @sunmao-ui/core",
"lint": "eslint ./src --ext .ts --ext .tsx",
"fix-lint": "eslint --fix ./src --ext .ts --ext .tsx",
"prepublish": "npm run build && npm run typings",
"visualize": "esbuild-visualizer --metadata ./dist/metafile-iife.json --exclude *.png"
},
"dependencies": {
"@emotion/css": "^11.5.0",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/core": "^0.7.3",
"@sunmao-ui/runtime": "^0.7.3",
"echarts": "^5.2.2",
"echarts-for-react": "^3.0.2",
"eslint-plugin-react-hooks": "^4.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@arco-design/web-react": "^2.28.2",
"@sunmao-ui/editor": "^0.7.4",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@vitejs/plugin-react": "^2.0.1",
"esbuild-visualizer": "^0.3.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"tsup": "^6.2.2",
"typescript": "^4.3.2",
"vite": "^3.0.9"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}