forked from fossasia/pslab-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 4.46 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
{
"name": "pslab",
"description": "A desktop interface for the Pocket Science Lab open-harware device",
"version": "2.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.10.2",
"@material-ui/icons": "^4.9.1",
"chokidar": "^3.0.1",
"electron-load-balancer": "^3.0.0",
"electron-log": "^3.0.5",
"python-shell": "^1.0.7",
"react": "^16.8.6",
"react-circular-input": "^0.1.4",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"react-rotary-knob": "^1.1.5",
"react-router-dom": "^5.0.0",
"react-scripts": "2.1.8",
"react-spring": "^8.0.20",
"recharts": "^1.5.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"styled-components": "^4.2.0"
},
"scripts": {
"react-start": "BROWSER=NONE react-scripts start",
"electron-start": "DEV=1 electron .",
"start": "concurrently \"react-scripts start BROWSER=none\" \"wait-on http://localhost:3000 && electron .\"",
"react-build": "react-scripts build",
"pack": "electron-builder --dir -c.extraMetadata.main=build/electron.js",
"electron-build-linux": "electron-builder --linux -c.extraMetadata.main=build/electron.js",
"electron-build-windows": "electron-builder --win -c.extraMetadata.main=build/electron.js",
"electron-build-mac": "electron-builder --mac -c.extraMetadata.main=build/electron.js",
"build-linux": "npm run react-build && npm run electron-build-linux",
"build-windows": "npm run react-build && npm run electron-build-windows",
"build-mac": "npm run react-build && npm run electron-build-mac",
"build": "npm run react-build && npm run electron-build-linux && npm run electron-build-windows & npm run electron-build-mac",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",
"fmt": "prettier --write 'src/**/*.js'",
"precommit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css,md}": [
"eslint --fix src",
"git add"
]
},
"eslintConfig": {
"extends": "react-app"
},
"homepage": "./",
"main": "public/electron.js",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"babel-eslint": "^10.0.1",
"concurrently": "^5.0.0",
"devtron": "^1.4.0",
"electron": "^9.0.4",
"electron-builder": "^21.1.5",
"electron-devtools-installer": "^3.0.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx": "0.0.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.20.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"wait-on": "^3.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"author": {
"name": "FOSSASIA",
"email": "[email protected]",
"url": "https://pslab.io/"
},
"build": {
"appId": "FOSSASIA-PSLAB",
"productName": "PSLab",
"copyright": "Copyright © 2019-2020 FOSSASIA",
"asar": false,
"linux": {
"target": [
"deb",
"snap"
],
"category": "Utility"
},
"snap": {
"confinement": "classic"
},
"win": {
"target": [
"nsis"
],
"legalTrademarks": "Copyright © 2019-2020 FOSSASIA",
"signingHashAlgorithms": [
"sha1",
"sha256"
]
},
"mac": {
"category": "public.app-category.education",
"target": [
"default"
]
},
"nsis": {
"oneClick": true
},
"files": [
"build/**/*",
"node_modules/**/*",
"utils/**/*",
"scripts/**/*",
"background_tasks/**/*"
],
"directories": {
"buildResources": "assets"
},
"extends": null
}
}