chore(admin-next): add cross-env

pull/90/head
moonrailgun 2 years ago
parent b4aecc9a09
commit 4c65c1a36e

@ -5,7 +5,7 @@
"author": "moonrailgun",
"scripts": {
"dev": "nodemon",
"start": "NODE_ENV=production node dist/admin-next/src/server/index.js",
"start": "cross-env NODE_ENV=production node dist/admin-next/src/server/index.js",
"build": "pnpm build:client && pnpm build:server",
"build:client": "vite build",
"build:server": "tsc -p tsconfig.server.json"
@ -35,6 +35,7 @@
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"cross-env": "^7.0.3",
"nodemon": "^2.0.22",
"ts-node": "^10.9.1",
"typescript": "^4.9.3",

Loading…
Cancel
Save