-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
97 lines (97 loc) · 2.6 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "minesweeper",
"version": "1.0.0",
"description": "一款跨平台跨终端的扫雷游戏",
"private": true,
"author": "Flyer <flyer@flyerq.com> (https://www.flyerq.com)",
"license": "MIT",
"homepage": "https://app.flyerq.com/minesweeper",
"repository": "https://github.com/flyerq/minesweeper",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "concurrently \"webpack\" \"npm run start\"",
"dist": "webpack --config webpack.production.config.js",
"pack": "electron-builder --dir",
"build": "electron-builder",
"test": "eslint ./src/**/**.js"
},
"build": {
"appId": "com.flyerq.minesweeper",
"asar": true,
"productName": "minesweeper",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "build-assets",
"output": "build"
},
"files": [
"!node_modules/hammerjs/",
"!node_modules/lodash/",
"!node_modules/phaser-ce/",
"!node_modules/webfontloader/",
"assets/**/*",
"!assets/src/",
"dist/**/*",
"index.html",
"main.js",
"updater.html",
"updater.js",
"manifest.json",
"package.json"
],
"win": {
"target": [
"nsis",
"zip"
]
},
"nsis": {
"language": "2052",
"oneClick": false,
"perMachine": true,
"runAfterFinish": true,
"createDesktopShortcut": true,
"deleteAppDataOnUninstall": true,
"allowToChangeInstallationDirectory": true,
"artifactName": "${name}-${version}-${os}-${arch}-setup.${ext}"
},
"releaseInfo": {
"releaseName": "扫雷"
},
"publish": [
{
"provider": "generic",
"url": "https://app.flyerq.com/minesweeper/download/"
}
]
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.0.0",
"babel-polyfill": "^6.23.0",
"babel-preset-latest": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"browser-sync": "^2.18.8",
"browser-sync-webpack-plugin": "^1.1.4",
"concurrently": "^3.4.0",
"electron": "^1.6.11",
"electron-builder": "^19.19.1",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"expose-loader": "^0.7.3",
"sw-precache-webpack-plugin": "^0.11.4",
"webpack": "^2.5.0"
},
"dependencies": {
"electron-updater": "^2.8.2",
"hammerjs": "^2.0.8",
"lodash": "^4.17.4",
"phaser-ce": "^2.7.7",
"webfontloader": "^1.6.27"
}
}