-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.93 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "ElectronAPIDemos",
"productName": "Electron API Demos",
"version": "1.0.0",
"description": "Electron interactive API demos",
"private": true,
"main": "main.js",
"build": {
"appId": "your.id",
"app-category-type": "your.app.category.type"
},
"scripts": {
"b": "build --mac --dir",
"start": "electron .",
"dev": "electron . --debug",
"lint": "standard",
"test": "mocha tests && npm run lint",
"sign-exe": "signcode ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io'",
"sign-installer": "signcode ./out/windows-installer/ElectronAPIDemosSetup.exe --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io'",
"pack-mac": "electron-packager . --asar --asar-unpack=protocol-link.html --overwrite --platform=darwin --arch=x64 --icon=assets/app-icon/mac/app.icns --prune=true --out=out --osx-sign.identity='Developer ID Application: GitHub' --extend-info=assets/mac/info.plist",
"pack-win": "electron-packager . ElectronAPIDemos --asar --asar-unpack=protocol-link.html --overwrite --platform=win32 --arch=ia32 --icon=assets/app-icon/win/app.ico --prune=true --out=out --version-string.CompanyName='GitHub, Inc.' --version-string.FileDescription='Electron API Demos' --version-string.ProductName='Electron API Demos'",
"pack-linux": "electron-packager . --asar --asar-unpack=protocol-link.html --overwrite --platform=linux --arch=x64 --icon=assets/app-icon/png/64.png --prune=true --out=out",
"package": "npm run pack-mac && npm run pack-win && npm run pack-linux",
"installer": "node ./script/installer.js",
"windows-store": "node ./script/windows-store.js",
"mas": "./script/mas.sh",
"prepare-release": "npm run package && npm run sign-exe && npm run installer && npm run sign-installer",
"release": "node ./script/release.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/electron/electron-api-demos.git"
},
"keywords": [
"Electron",
"API",
"demo"
],
"author": "GitHub",
"license": "MIT",
"bugs": {
"url": "https://github.com/electron/electron-api-demos/issues"
},
"homepage": "https://github.com/electron/electron-api-demos#readme",
"devDependencies": {
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"devtron": "^1.0.0",
"electron-builder": "^5.12.1",
"electron-packager": "^7.0.1",
"electron-prebuilt": "^1.2.6",
"electron-windows-store": "^0.3.0",
"electron-winstaller": "^2.2.0",
"mocha": "^2.3.4",
"request": "^2.70.0",
"rimraf": "^2.5.2",
"signcode": "^0.4.0",
"spectron": "~3.2.6",
"standard": "^6.0.8"
},
"dependencies": {
"electron-json-storage": "^2.0.0",
"electron-shortcut-normalizer": "^1.0.0",
"glob": "^6.0.4",
"highlight.js": "^9.3.0"
},
"standard": {
"env": {
"mocha": true
}
}
}