fix: remove usage of cross-env

This commit is contained in:
Divlo 2022-03-21 20:17:43 +01:00
parent 6575517e50
commit ad903da6a4
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -15,7 +15,7 @@
"scripts": { "scripts": {
"build": "rimraf ./build && swc ./src --out-dir ./build && tsc", "build": "rimraf ./build && swc ./src --out-dir ./build && tsc",
"build:dev": "swc ./src --out-dir ./build --watch", "build:dev": "swc ./src --out-dir ./build --watch",
"start": "cross-env NODE_ENV=production node build/index.js", "start": "node build/index.js",
"dev": "concurrently -k -n \"TypeScript,Node\" -p \"[{name}]\" -c \"blue,green\" \"npm run build:dev\" \"cross-env NODE_ENV=development nodemon build/index.js\"", "dev": "concurrently -k -n \"TypeScript,Node\" -p \"[{name}]\" -c \"blue,green\" \"npm run build:dev\" \"cross-env NODE_ENV=development nodemon build/index.js\"",
"generate": "plop", "generate": "plop",
"scripts:delete-dead-uploaded-files": "node build/scripts/delete-dead-uploaded-files.js", "scripts:delete-dead-uploaded-files": "node build/scripts/delete-dead-uploaded-files.js",