File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 "scripts" : {
6464 "build-template-win" : " vite build --config vite.public-template.config.js" ,
6565 "build-template" : " NODE_OPTIONS=\" --max-old-space-size=8192\" vite build --config vite.public-template.config.js" ,
66- "build" : " npm run version && react-scripts build" ,
66+ "build" : " npm run version && npm run build-template && NODE_OPTIONS= \" --max-old-space-size=8192 \" vite build" ,
6767 "build-template-watch" : " NODE_OPTIONS=\" --max-old-space-size=8192\" vite build --config vite.public-template.config.js --watch" ,
6868 "start-dev" : " vite" ,
6969 "dev" : " vite" ,
7070 "preview" : " vite preview" ,
7171 "start" : " serve -s build" ,
7272 "version" : " curl -s https://api.github.com/repos/opensignlabs/opensign/releases/latest | grep '\" tag_name\" :' | awk -F '\" ' '{print $4}' > ./public/version.txt" ,
7373 "version-win" : " powershell -Command \" Invoke-RestMethod -Uri 'https://api.github.com/repos/opensignlabs/opensign/releases/latest' | Select-Object -ExpandProperty tag_name | Out-File -FilePath ./public/version.txt\" " ,
74- "build-win" : " npm run version-win && react-scripts build" ,
74+ "build-win" : " npm run version-win && npm run build-template-win && vite build" ,
7575 "test" : " vitest run" ,
7676 "test:watch" : " vitest" ,
7777 "release" : " standard-version" ,
143143 "engines" : {
144144 "node" : " 18 || 20 || 22"
145145 }
146- }
146+ }
You can’t perform that action at this time.
0 commit comments