forked from demopark/electron-api-demos-Zh_CN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.65 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
{
"name": "ElectronAPIDemos",
"productName": "Electron API Demos",
"version": "1.2.0",
"description": "Electron interactive API demos",
"private": true,
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --debug",
"lint": "standard | snazzy",
"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.unpack=protocol-link.html --overwrite --platform=darwin --arch=x64 --icon=assets/app-icon/mac/app.icns --out=out --osx-sign.identity='Developer ID Application: GitHub' --extend-info=assets/mac/info.plist",
"pack-win": "electron-packager . --asar.unpack=protocol-link.html --overwrite --platform=win32 --arch=ia32 --icon=assets/app-icon/win/app.ico --out=out --version-string.CompanyName='GitHub, Inc.' --version-string.FileDescription='Electron API Demos' --version-string.ProductName='Electron API Demos'",
"pack-linux": "electron-packager . --asar.unpack=protocol-link.html --overwrite --platform=linux --arch=x64 --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": "^6.0.0",
"devtron": "^1.3.0",
"electron": "^1.3.5",
"electron-packager": "^8.0.0",
"electron-winstaller": "^2.2.0",
"mocha": "^3.1.0",
"request": "^2.70.0",
"rimraf": "^2.5.2",
"signcode": "^0.5.0",
"snazzy": "^5.0.0",
"spectron": "~3.4.0",
"standard": "^8.2.0"
},
"dependencies": {
"electron-json-storage": "^2.0.0",
"electron-shortcut-normalizer": "^1.0.0",
"glob": "^7.1.0",
"highlight.js": "^9.3.0"
},
"standard": {
"env": {
"mocha": true
}
}
}