-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
193 lines (193 loc) · 5.48 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "newlogic",
"productName": "newlogic",
"version": "0.1.5-beta",
"description": "Circuit Builder Desktop Application (like mmlogic) made with Electron + React Typescript. Compatible with Windows, Mac and Linux.",
"main": "main.js",
"preferGlobal": true,
"scripts": {
"test": "cross-env NODE_ENV=test node --trace-warnings ./test/runTests.js",
"test-all": "npm run test && npm run build && npm run test-e2e",
"test-watch": "npm test -- --watch",
"test-e2e": "cross-env NODE_ENV=test node --trace-warnings ./test/runTests.js e2e",
"hot-server": "cross-env NODE_ENV=development node --max_old_space_size=2096 server.js",
"build-main": "cross-env NODE_ENV=production node ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"build": "npm run build-main && npm run build-renderer",
"start": "cross-env NODE_ENV=production electron ./app/",
"start-hot": "cross-env HOT=1 NODE_ENV=development electron ./app/main.development",
"dev": "npm run hot-server -- --start-hot",
"package": "npm run build && build --publish never",
"package-win": "npm run build && build --win --x64",
"package-linux": "npm run build && build --linux",
"package-all": "npm run build && build -mwl",
"cleanup": "mop -v",
"prepack": "npm run package-linux"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleDirectories": [
"node_modules",
"app/node_modules"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/test/preprocessor.js"
},
"testMatch": [
"**/?(*.)(spec|test).ts?(x)"
],
"verbose": true,
"testURL": "http://localhost/",
"setupFiles": [
"jest-canvas-mock"
]
},
"build": {
"productName": "newlogic",
"appId": "io.moynihan.newlogic",
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"files": [
"dist/",
"node_modules/",
"app.html",
"main.js",
"main.js.map",
"package.json",
"app/"
],
"directories": {
"buildResources": "resources",
"output": "release"
},
"win": {
"target": "nsis"
},
"linux": {
"target": [
"deb",
"AppImage"
]
}
},
"bin": {
"newlogic": "./release/linux-unpacked/newlogic"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericm/newlogic.git"
},
"author": {
"name": "Eric Moynihan",
"email": "[email protected]",
"url": "https://github.com/ericm"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ericm/newlogic/issues"
},
"keywords": [
"electron",
"boilerplate",
"react",
"react-router",
"flux",
"webpack",
"react-hot"
],
"homepage": "https://github.com/ericm/newlogic#readme",
"devDependencies": {
"@types/enzyme": "^3.1.1",
"@types/history": "^4.5.2",
"@types/jest": "^22.0.0",
"@types/node": "^8.0.2",
"@types/react": "^16.0.5",
"@types/react-dom": "16.0.3",
"@types/react-hot-loader": "^3.0.4",
"@types/react-router-dom": "^4.0.7",
"@types/redux-logger": "^3.0.0",
"@types/sinon": "^4.0.0",
"asar": "^0.14.0",
"boiler-room-custodian": "^0.6.2",
"concurrently": "^3.1.0",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"css-modules-require-hook": "^4.0.6",
"devtron": "^1.4.0",
"electron": "^1.8.8",
"electron-builder": "^19.8.0",
"electron-builder-http": "^19.15.0",
"electron-devtools-installer": "^2.0.1",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.0.0",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.5",
"html-webpack-plugin": "^2.24.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.0.4",
"jest-canvas-mock": "^2.0.0-alpha.3",
"json-loader": "^0.5.4",
"node-sass": "^4.1.1",
"react-hot-loader": "^3.0.0-beta.6",
"react-test-renderer": "^16.0.0",
"redux-logger": "^3.0.6",
"sass-loader": "^6.0.6",
"sinon": "^4.0.0",
"spectron": "^3.4.1",
"style-loader": "^0.19.0",
"ts-loader": "^3.1.0",
"ts-node": "^4.1.0",
"tslint": "^5.4.3",
"typescript": "^2.4.1",
"url-loader": "^0.6.1",
"webpack": "^3.3.0",
"webpack-dev-middleware": "^2.0.3",
"webpack-hot-middleware": "^2.13.2",
"webpack-merge": "^4.1.1"
},
"dependencies": {
"@types/electron-settings": "^3.1.1",
"@types/rc-slider": "^8.6.3",
"electron-debug": "^1.1.0",
"electron-settings": "^3.2.0",
"flatted": "^2.0.0",
"font-awesome": "^4.7.0",
"history": "^4.6.1",
"js-base64": "^2.5.1",
"konva": "^2.6.0",
"rc-slider": "^8.6.9",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-konva": "^16.7.1",
"react-router-dom": "^4.1.1",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0",
"source-map-support": "^0.5.0"
},
"devEngines": {
"node": ">=6.x",
"npm": ">=3.x"
}
}