-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
118 lines (118 loc) · 3.25 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "react-exercise-playground",
"description": "react-exercise-playground是一个react在线代码编辑器可实时预览运行效果",
"private": false,
"version": "0.1.93",
"exports": {
".": {
"import": {
"types": "./dist/@types/Playground/index.d.ts",
"default": "./dist/index.mjs"
}
},
"./PlaygroundSandbox": {
"import": {
"types": "./dist/@types/Playground/PlaygroundSandbox.d.ts",
"default": "./dist/PlaygroundSandbox.mjs"
}
}
},
"files": [
"dist/*"
],
"repository": {
"type": "git",
"url": "https://github.com/fewismuch/react-playground.git"
},
"bugs": {
"url": "https://github.com/fewismuch/react-playground/issues",
"email": "779205344@qq.com"
},
"keywords": [
"react",
"react-playground",
"playground",
"react-live",
"live-editor",
"codeSandbox",
"sandbox",
"live"
],
"author": "fewismuch",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vite build && tsc",
"docs": "vite build && tsc",
"preview": "vite preview",
"prepare": "husky install",
"report": "tsc && vite build",
"prepublish": "npm run docs && npm run build && npm publish"
},
"dependencies": {
"@babel/standalone": "^7.23.1",
"@monaco-editor/react": "^4.5.2",
"@typescript/ata": "^0.9.4",
"allotment": "^1.19.3",
"classnames": "^2.3.2",
"fflate": "^0.8.1",
"file-saver": "^2.0.5",
"jszip": "^3.10.1",
"monaco-editor": "^0.43.0",
"monaco-jsx-syntax-highlight": "^1.2.0",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"devDependencies": {
"@types/babel__standalone": "^7.1.5",
"@types/file-saver": "^2.0.5",
"@types/node": "^20.8.10",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"eslint": "^8.45.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"eslint-plugin-standard": "^5.0.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"less-loader": "^11.1.2",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"rollup-plugin-visualizer": "^5.9.2",
"stylelint": "^15.11.0",
"stylelint-config-css-modules": "^4.3.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended-less": "^2.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-less": "^2.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-cdn-import": "^0.3.5",
"vite-plugin-css-injected-by-js": "^3.3.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings 0"
],
"src/**/*.{css,less,scss}": [
"stylelint --max-warnings 0"
]
}
}