-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
60 lines (60 loc) · 3.79 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
{
"name": "dapp-browser",
"version": "0.0.1",
"description": "",
"main": "./electron/main/dist/main.js",
"scripts": {
"setup": "npm run install-packages-apps && npm run start-apps",
"start-apps": "concurrently \"npm run webpack-dapps-lib\" \"npm run webpack-client\" \"npm run webpack-permission-manager\" \"npm run webpack-main\"",
"dev": "cross-env NODE_ENV=development npm start",
"start": "node index.js",
"clean": "rimraf release && rimraf electron/main/release && npm run clear-dist",
"install-packages-apps": "npm run install-packages-client && npm run install-packages-dapplib && npm run install-packages-permissions && npm run install-packages-main",
"install-packages-client": "cd electron/client && npm i",
"install-packages-main": "cd electron/main && npm i",
"install-packages-dapplib": "cd electron/dapps/lib && npm i",
"install-packages-permissions": "cd electron/permissionManager && npm i",
"webpack-client": "cd electron/client && cross-env NODE_ENV=development node --max_old_space_size=2096 server.js",
"webpack-dapps-lib": "cd electron/dapps/lib && npm run webpack",
"webpack-dapps-download": "concurrently \"npm run webpack-dapps-Chat\" \"npm run webpack-dapps-Wallet\" \"npm run webpack-dapps-BlockExplorer\" \"npm run webpack-dapps-TicTacToe\"",
"webpack-dapps-Chat": "cd electron/dapps/download/Chat && npm i && npm run webpack",
"webpack-dapps-Wallet": "cd electron/dapps/download/Wallet && npm i && npm run webpack",
"webpack-dapps-TicTacToe": "cd electron/dapps/download/TicTacToe && npm i && npm run webpack",
"webpack-dapps-BlockExplorer": "cd electron/dapps/download/BlockExplorer && npm i && npm run webpack",
"webpack-main": "cd electron/main && npm run webpack",
"webpack-permission-manager": "cd electron/permissionManager && npm run webpack",
"build-client": "cd electron/client && npm run build",
"build-dapp-Chat": "cd electron/dapps/download/Chat && npm i && npm run build",
"build-dapp-Wallet": "cd electron/dapps/download/Wallet && npm i && npm run build",
"build-dapp-TicTacToe": "cd electron/dapps/download/TicTacToe && npm i && npm run build",
"build-dapp-BlockExplorer": "cd electron/dapps/download/BlockExplorer && npm i && npm run build",
"build-dapp-lib": "cd electron/dapps/lib && npm run build",
"build-dapps": "concurrently \"npm run build-dapp-Chat\" \"npm run build-dapp-Wallet\" \"npm run build-dapp-TicTacToe\" \"npm run build-dapp-BlockExplorer\"",
"build-main": "cd electron/main && npm run build",
"build-permission": "cd electron/permissionManager && npm run build",
"build-combine": "npm run install-packages-apps && npm run build-client && npm run build-main && npm run build-permission && npm run build-dapps && npm run build-dapp-lib",
"build": "npm i && npm run clean && npm run build-combine && cd electron/main && npm run dist",
"build-win": "npm i && npm run clean && npm run build-combine && cd electron/main && npm run dist",
"clear-dist-client": "cd electron/client && npm run clear-dist",
"clear-dist-dapps-lib": "cd electron/dapps/lib && npm run clear-dist",
"clear-dist-main": "cd electron/main && npm run clear-dist",
"clear-dist-permission": "cd electron/permissionManager && npm run clear-dist",
"clear-dist": "concurrently \"npm run clear-dist-client\" \"npm run clear-dist-dapps-lib\" \"npm run clear-dist-main\" \"npm run clear-dist-permission\"",
"test-main": "cd electron/main && npm run test"
},
"author": "cypherpunk99",
"license": "MIT",
"dependencies": {
"concurrently": "^4.0.1",
"cross-env": "^5.2.0",
"rimraf": "^2.6.2"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"electron": "3.0.6",
"electron-packager": "^12.2.0",
"mocha": "^5.2.0",
"spectron": "^5.0.0"
}
}