diff --git a/package.json b/package.json index 4c4450d..3dbc96a 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ ], "main": "dist/main.js", "scripts": { - "start": "npm run preload && electron .", + "start": "npm run preload && cross-env DEVELOPMENT=true && electron .", "dev": "cross-env DEVELOPMENT=true && tsc && npm run copy-files && electron .", - "build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out='build/' --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore='^/(src|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$'", + "build": "npm run preload && npx @electron/packager . SlimeTora --platform=win32,linux --arch=x64 --overwrite --out=build/ --icon=src/static/images/icon.ico --asar --extra-resource=src/languages --ignore=\"^/(src|docs|.vscode|.eslintrc.cjs|.prettierrc|tsconfig.json|README.md|.gitignore)$\"", "preload": "npx @electron/rebuild && npx del-cli dist/ && tsc && npm run copy-files", "copy-files": "npx copyfiles -u 1 \"src/**/*.js\" \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.ico\" \"src/**/*.png\" \"src/**/*.webp\" \"src/**/*.webm\" \"src/**/*.svg\" \"src/**/*.fbx\" src/languages/* dist/", "build-bulma": "npx sass --watch ./src/static/css/index.scss ./src/static/css/index.css",