|
3 | 3 | "version": "3.4.6",
|
4 | 4 | "private": true,
|
5 | 5 | "scripts": {
|
6 |
| - "dev": "cross-env --max_old_space_size=4096 vite", |
| 6 | + "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite", |
7 | 7 | "serve": "pnpm dev",
|
8 |
| - "build": "rimraf dist && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build", |
9 |
| - "build:staging": "rimraf dist && cross-env vite build --mode staging", |
10 |
| - "report": "rimraf dist && cross-env vite build", |
| 8 | + "build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build", |
| 9 | + "build:staging": "rimraf dist && vite build --mode staging", |
| 10 | + "report": "rimraf dist && vite build", |
11 | 11 | "preview": "vite preview",
|
12 | 12 | "preview:build": "pnpm build && vite preview",
|
13 | 13 | "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
|
14 |
| - "cloc": "cross-env --max_old_space_size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML", |
| 14 | + "cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML", |
15 | 15 | "clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install",
|
16 | 16 | "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
17 | 17 | "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
|
65 | 65 | "qs": "^6.11.0",
|
66 | 66 | "resize-observer-polyfill": "^1.5.1",
|
67 | 67 | "responsive-storage": "^2.1.0",
|
68 |
| - "rgb-hex": "^4.0.0", |
69 | 68 | "sortablejs": "^1.15.0",
|
70 | 69 | "swiper": "^8.3.2",
|
71 | 70 | "v-contextmenu": "3.0.0",
|
|
118 | 117 | "@vue/runtime-core": "^3.2.38",
|
119 | 118 | "autoprefixer": "^10.4.8",
|
120 | 119 | "cloc": "^2.10.0",
|
121 |
| - "cross-env": "7.0.3", |
122 | 120 | "eslint": "^8.8.0",
|
123 | 121 | "eslint-plugin-prettier": "^4.0.0",
|
124 | 122 | "eslint-plugin-vue": "^8.4.1",
|
|
0 commit comments