forked from wanglin2/code-run
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.96 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.96 KB
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
119
120
121
122
123
{
"name": "code-flux",
"description": "AI生成式前端代码预览/微调辅助工具,前端代码在线运行/发布平台,codepen、jsbin、jsfiddle等的开源替代方案",
"version": "1.2.7",
"authors": [
{
"name": "xxxily (二开作者)"
},
{
"name": "街角小林(原始作者)",
"email": "1013335014@qq.com"
},
{
"name": "理想青年实验室(原始作者网站)",
"url": "http://lxqnsys.com/"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/xxxily/code-flux"
},
"homepage": "https://code-flux.anzz.top",
"keywords": [
"javascript",
"code",
"frontend"
],
"scripts": {
"serve": "vite --host 0.0.0.0 --port 8080",
"build": "vite build",
"lint": "eslint \"src/**/*.{js,vue}\" \"tests/**/*.{js,vue}\"",
"buildConsole": "babel --config-file ./public/console/babel.config.json ./public/console/index.js --out-file ./public/console/compile.js",
"convertTheme": "node ./scripts/convertTheme.js",
"createThemeList": "node ./scripts/createThemeList.js",
"buildLiveScript": "node ./scripts/buildLiveScript.js",
"buildVueSFCCompiler": "node ./scripts/buildVueCompilerSfc.js",
"format": "prettier --write src/**",
"docker:build": "docker build -t code-flux .",
"docker:run": "docker run -p 8080:80 code-flux",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"build:extension": "npm run build && cp extension/manifest.json extension/background.js extension/dist/ && cp -r extension/icons extension/dist/",
"test": "vitest",
"test:unit": "vitest run tests/unit",
"test:component": "vitest run tests/component",
"test:integration": "vitest run tests/integration",
"test:e2e": "playwright test",
"test:e2e:prod": "npm run build && playwright test --config playwright.production.config.js",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest watch",
"test:ui": "vitest --ui",
"test:all": "npm run test:unit && npm run test:component && npm run test:integration && npm run test:e2e"
},
"engines": {
"node": ">=20.19.0"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
"@octokit/core": "^5.2.2",
"core-js": "^3.49.0",
"cropperjs": "^1.5.12",
"dayjs": "^1.11.21",
"element-plus": "^2.14.1",
"eventemitter3": "^4.0.7",
"fflate": "^0.8.3",
"html2canvas": "^1.4.1",
"jszip": "^3.10.1",
"livescript": "^1.6.0",
"loadjs": "^4.2.0",
"monaco-editor": "^0.55.1",
"monaco-editor-textmate": "^4.0.0",
"monaco-textmate": "^3.0.1",
"nprogress": "^0.2.0",
"onigasm": "^2.2.5",
"register-service-worker": "^1.7.2",
"resize-observer-polyfill": "^1.5.1",
"sharp": "^0.34.5",
"vscode-theme-to-monaco-theme-web": "^1.0.0",
"vue": "^3.5.35",
"vue-router": "^4.6.4",
"vuex": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.29.7",
"@babel/core": "^7.29.7",
"@babel/plugin-transform-modules-commonjs": "^7.29.7",
"@babel/plugin-transform-strict-mode": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@vitejs/plugin-vue": "^6.0.7",
"@vitest/coverage-v8": "^4.1.7",
"@vitest/ui": "^4.1.7",
"@vue/compiler-sfc": "^3.5.35",
"@vue/test-utils": "^2.4.10",
"esbuild": "^0.27.0",
"eslint": "^10.4.1",
"eslint-plugin-vue": "^10.9.1",
"fs-extra": "^7.0.1",
"globals": "^17.6.0",
"happy-dom": "^20.9.0",
"less": "^4.6.4",
"msw": "^2.14.6",
"prettier": "^1.19.1",
"vite": "^8.0.14",
"vite-plugin-pwa": "^1.3.0",
"vitest": "^4.1.7",
"vscode-theme-to-monaco-theme-node": "^1.0.0",
"vue-eslint-parser": "^10.4.0"
},
"overrides": {
"brace-expansion@<=1.1.12": "1.1.15",
"dompurify": "3.4.7",
"minimatch@<=3.1.3": "3.1.5",
"picomatch@<=2.3.1": "2.3.2"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}