|
1 | 1 | {
|
2 | 2 | "name": "ElectronAPIDemos",
|
3 | 3 | "productName": "Electron API Demos",
|
4 |
| - "version": "1.2.0", |
| 4 | + "version": "1.3.0", |
5 | 5 | "description": "Electron interactive API demos",
|
6 | 6 | "private": true,
|
7 | 7 | "main": "main.js",
|
8 | 8 | "scripts": {
|
9 | 9 | "start": "electron .",
|
10 | 10 | "dev": "electron . --debug",
|
11 |
| - "lint": "standard | snazzy", |
12 |
| - "test": "mocha tests && npm run lint", |
13 |
| - "sign-exe": "signcode ./out/ElectronAPIDemos-win32-ia32/ElectronAPIDemos.exe --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io/'", |
14 |
| - "sign-installer": "signcode ./out/windows-installer/ElectronAPIDemosSetup.exe --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io/'", |
15 |
| - "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", |
16 |
| - "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'", |
17 |
| - "pack-linux": "electron-packager . --asar.unpack=protocol-link.html --overwrite --platform=linux --arch=x64 --out=out", |
18 |
| - "package": "npm run pack-mac && npm run pack-win && npm run pack-linux", |
19 |
| - "installer": "node ./script/installer.js", |
| 11 | + "test": "mocha && standard", |
| 12 | + "package": "npm-run-all package:*", |
| 13 | + "package:mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --out=out --icon=assets/app-icon/mac/app.icns --osx-sign.identity='Developer ID Application: GitHub' --extend-info=assets/mac/info.plist", |
| 14 | + "package:win": "electron-packager . --overwrite --platform=win32 --arch=ia32 --out=out --icon=assets/app-icon/win/app.ico", |
| 15 | + "package:linux": "electron-packager . --overwrite --platform=linux --arch=x64 --out=out", |
| 16 | + "package:sign-exe": "signcode './out/Electron API Demos-win32-ia32/Electron API Demos.exe' --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io'", |
| 17 | + "package:installer": "node ./script/installer.js", |
| 18 | + "package:sign-installer": "signcode './out/windows-installer/ElectronAPIDemosSetup.exe' --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io/'", |
| 19 | + "package:mas": "./script/mas.sh", |
20 | 20 | "windows-store": "node ./script/windows-store.js",
|
21 |
| - "mas": "./script/mas.sh", |
22 |
| - "prepare-release": "npm run package && npm run sign-exe && npm run installer && npm run sign-installer", |
23 | 21 | "release": "node ./script/release.js"
|
24 | 22 | },
|
25 |
| - "repository": { |
26 |
| - "type": "git", |
27 |
| - "url": "git+https://github.com/electron/electron-api-demos.git" |
28 |
| - }, |
| 23 | + "repository": "https://github.com/electron/electron-api-demos", |
29 | 24 | "keywords": [
|
30 | 25 | "Electron",
|
31 | 26 | "API",
|
32 | 27 | "demo"
|
33 | 28 | ],
|
34 | 29 | "author": "GitHub",
|
35 | 30 | "license": "MIT",
|
36 |
| - "bugs": { |
37 |
| - "url": "https://github.com/electron/electron-api-demos/issues" |
38 |
| - }, |
39 |
| - "homepage": "https://github.com/electron/electron-api-demos#readme", |
40 | 31 | "devDependencies": {
|
41 | 32 | "chai": "^3.4.1",
|
42 | 33 | "chai-as-promised": "^6.0.0",
|
43 | 34 | "devtron": "^1.3.0",
|
44 | 35 | "electron": "~1.6.2",
|
45 |
| - "electron-packager": "^8.0.0", |
| 36 | + "electron-packager": "^8.6.0", |
46 | 37 | "electron-winstaller": "^2.2.0",
|
47 | 38 | "mocha": "^3.1.0",
|
| 39 | + "npm-run-all": "^4.0.2", |
48 | 40 | "request": "^2.70.0",
|
49 | 41 | "rimraf": "^2.5.2",
|
50 | 42 | "signcode": "^0.5.0",
|
51 |
| - "snazzy": "^5.0.0", |
52 | 43 | "spectron": "~3.6.0",
|
53 | 44 | "standard": "^8.2.0"
|
54 | 45 | },
|
|
0 commit comments