-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
34 lines (34 loc) · 1.85 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
29
30
31
32
33
34
{
"name": "snake",
"version": "0.6.1",
"description": "Classic Snake Game",
"main": "main.js",
"scripts": {
"start": "electron .",
"clean": "rm -rf dist",
"packwin": "electron-packager . snake --platform win32 --arch ia32 --out dist/ --icon=assets/snake.ico --ignore \"(dist|node_modules/electron.*)\" --asar=true",
"packosx": "electron-packager . snake --platform darwin --arch x64 --out dist/ --icon=assets/snake.ico --ignore \"(dist|node_modules/electron.*)\" --asar=true",
"pack32": "electron-packager . snake --platform linux --arch ia32 --out dist/ --icon=assets/snake.png --ignore \"(dist|node_modules/electron.*)\" --asar=true",
"pack64": "electron-packager . snake --platform linux --arch x64 --out dist/ --icon=assets/snake.png --ignore \"(dist|node_modules/electron.*)\" --asar=true",
"deb32": "electron-installer-debian --src dist/snake-linux-ia32/ --dest dist/installers/ --arch i386 --config deb_config.json",
"deb64": "electron-installer-debian --src dist/snake-linux-x64/ --dest dist/installers/ --arch amd64 --config deb_config.json",
"rpm32": "electron-installer-redhat --src dist/snake-linux-ia32/ --dest dist/installers/ --arch x86 --config rpm_config.json",
"rpm64": "electron-installer-redhat --src dist/snake-linux-x64/ --dest dist/installers/ --arch x86_64 --config rpm_config.json",
"debbuild": "npm run clean && npm run pack32 && npm run deb32 && npm run pack64 && npm run deb64",
"rpmbuild": "npm run clean && npm run pack32 && npm run rpm32 && npm run pack64 && npm run rpm64"
},
"author": "Nisan Coşkun <dev@alpcoskun.com>",
"repository": {
"type": "git",
"url": "https://github.com/aprilcoskun/snake.git"
},
"license": "MIT",
"dependencies": {
"lowdb": "^1.0.0",
"touch": "^3.1.0"
},
"devDependencies": {
"electron": "^15.5.5",
"electron-packager": "^12.0.1"
}
}