-
Notifications
You must be signed in to change notification settings - Fork 89
/
package.json
71 lines (71 loc) · 1.74 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
{
"name": "@sunmao-ui/editor-sdk",
"version": "0.3.4",
"description": "The SDK for SunMao Editor",
"author": "sunmao-ui developers",
"homepage": "https://github.com/smartxworks/sunmao-ui#readme",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"types": "lib/index.d.ts",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/iife/index.js",
"files": [
"dist",
"lib"
],
"scripts": {
"build": "tsup && npm run visualize",
"dev": "tsup --platform browser",
"typings": "tsc --emitDeclarationOnly",
"prepublish": "npm run build && npm run typings",
"test": "jest",
"visualize": "esbuild-visualizer --metadata ./dist/metafile-iife.json --exclude *.png"
},
"dependencies": {
"@chakra-ui/icons": "^1.0.15",
"@chakra-ui/react": "^1.7.1",
"@emotion/css": "^11.7.1",
"@emotion/react": "^11.8.1",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/core": "^0.7.3",
"@sunmao-ui/runtime": "^0.7.3",
"@sunmao-ui/shared": "^0.2.3",
"codemirror": "^5.63.3",
"formik": "^2.2.9",
"framer-motion": "^3.10.6",
"immer": "^9.0.6",
"lodash": "^4.17.21",
"mitt": "^3.0.0",
"mobx": "^6.3.8",
"mobx-react-lite": "^3.2.2",
"rc-select": "^14.1.5",
"react-color": "^2.19.3"
},
"devDependencies": {
"@types/lodash": "^4.14.182",
"@vitejs/plugin-react": "^2.0.1",
"esbuild": "^0.15.5",
"tsup": "^6.2.2"
},
"keywords": [],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix"
]
},
"peerDependencies": {
"ajv": "^8.8.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tern": "^0.24.3"
}
}