-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
28 lines (28 loc) · 1.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"name": "my-scratch3-offline",
"version": "0.1.0",
"description": "scratch3 離線編輯器非官方版",
"main": "main.js",
"scripts": {
"start": "electron .",
"clean": "rimraf ./app && rimraf ./scratch3-linux-x64 && rimraf ./scratch3-win32-x64",
"copy": "rimraf ./app && cp -Rf ../scratch-gui/build ./app",
"package": "npm run clean && electron-packager . scratch3 --asar --platform=linux,win32",
"package:linux": "rimraf ./scratch3-linux-x64 && electron-packager . scratch3 --asar --platform=linux",
"package:win32": "rimraf ./scratch3-win32-x64 && electron-packager . scratch3 --asar --platform=win32",
"compress": "npm run compress:linux && npm run compress:win32",
"compress:win32": "rimraf scratch3-win32-x64-*.7z && 7z a scratch3-win32-x64-`date '+%Y%m%d%H%M%S'`.7z scratch3-win32-x64",
"compress:linux": "rimraf scratch3-linux-x64-*.7z && 7z a scratch3-linux-x64-`date '+%Y%m%d%H%M%S'`.7z scratch3-linux-x64"
},
"keywords": [
"scratch3",
"offline"
],
"author": "t301000 <[email protected]>",
"license": "ISC",
"devDependencies": {
"electron": "^2.0.16",
"electron-packager": "^13.0.1",
"rimraf": "^2.6.2"
}
}