74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"build": {
|
|
"appId": "com.example.electron-boilerplate",
|
|
"app-category-type": "your.app.category.type",
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"icon": "resources/windows/icon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"installerHeaderIcon": "resources/windows/setup-icon.ico"
|
|
},
|
|
"mac": {
|
|
"icon": "resources/osx/icon.icns"
|
|
},
|
|
"dmg": {
|
|
"icon": "resources/osx/dmg-icon.icns",
|
|
"background": "resources/osx/dmg-background.png"
|
|
}
|
|
},
|
|
"directories": {
|
|
"buildResources": "resources"
|
|
},
|
|
"devDependencies": {
|
|
"asar": "^0.10.0",
|
|
"electron-builder": "^7.11.4",
|
|
"grunt": "~0.4.5",
|
|
"grunt-contrib-clean": "^0.7.0",
|
|
"grunt-contrib-copy": "^0.8.2",
|
|
"grunt-shell": "1.1.2",
|
|
"gulp": "^3.9.0",
|
|
"gulp-batch": "^1.0.5",
|
|
"gulp-less": "^3.0.3",
|
|
"gulp-plumber": "^1.1.0",
|
|
"gulp-util": "^3.0.6",
|
|
"load-grunt-config": "^0.19.0",
|
|
"q": "^1.4.1",
|
|
"rollup": "^0.25.4",
|
|
"yargs": "^4.3.2"
|
|
},
|
|
"optionalDependencies": {
|
|
"appdmg": "^0.3.2",
|
|
"rcedit": "^0.3.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cd app && npm install",
|
|
"build": "gulp build",
|
|
"release": "gulp release --env=production",
|
|
"release2": "build --x64 --publish never",
|
|
"postinstall2": "install-app-deps",
|
|
"start": "node ./tasks/start",
|
|
"test": "node ./tasks/start --env=test"
|
|
},
|
|
"dependencies": {
|
|
"dcl": "^1.1.3",
|
|
"dojo": "^1.11.1",
|
|
"extend": "^3.0.0",
|
|
"fs-jetpack": "^0.10.5",
|
|
"grunt-chmod": "^1.1.1",
|
|
"grunt-contrib-clean": "^0.6.0",
|
|
"grunt-contrib-copy": "^0.8.2",
|
|
"grunt-contrib-rename": "0.0.3",
|
|
"grunt-extend-config": "^0.9.3",
|
|
"grunt-shell": "^1.3.1",
|
|
"grunt-ssh": "^0.12.9",
|
|
"intern": "^3.0.6",
|
|
"requireg": "^0.1.5",
|
|
"tracer": "^0.8.3",
|
|
"tree-kill": "^1.1.0"
|
|
}
|
|
}
|