-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 2.05 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
{
"name": "sunmao-ui-rjsf-lib",
"version": "0.0.2",
"homepage": "https://github.com/webzard-io/sunmao-ui-rjsf-lib",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webzard-io/sunmao-ui-rjsf-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 src/index.ts --format cjs,esm,iife --legacy-output --inject ./react-import.js --clean --no-splitting --sourcemap",
"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"
},
"dependencies": {
"@chakra-ui/react": "^1.7",
"@emotion/css": "^11.5.0",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@rjsf/chakra-ui": "^4.0.0",
"@rjsf/core": "^4.0.0",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/core": "^0.4.0",
"@sunmao-ui/runtime": "^0.4.0",
"framer-motion": "^5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@sunmao-ui/editor": "^0.4.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@vitejs/plugin-react": "^1.0.0",
"typescript": "^4.3.2",
"vite": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"tsup": "^5.11.11"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}