-
Notifications
You must be signed in to change notification settings - Fork 362
/
Copy pathpackage.json
137 lines (137 loc) · 3.71 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
{
"name": "pslab",
"description": "A desktop interface for the Pocket Science Lab open-harware device",
"version": "2.8.1",
"private": true,
"author": {
"name": "FOSSASIA",
"email": "[email protected]",
"url": "https://pslab.io/"
},
"main": "public/electron.js",
"dependencies": {
"@material-ui/core": "^4.10.2",
"@material-ui/icons": "^4.9.1",
"chokidar": "^3.4.3",
"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-spring": "^8.0.20",
"recharts": "^2.0.8",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"styled-components": "^4.2.0"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@storybook/addon-actions": "^6.0.27",
"@storybook/addon-essentials": "^6.0.27",
"@storybook/addon-links": "^6.0.27",
"@storybook/node-logger": "^6.0.27",
"@storybook/preset-create-react-app": "^3.1.4",
"@storybook/react": "^6.0.27",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.1.0",
"concurrently": "^5.0.0",
"cross-env": "^7.0.3",
"devtron": "^1.4.0",
"electron": "^10.4.2",
"electron-builder": "^22.9.1",
"electron-devtools-installer": "^3.0.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",
"prettier": "^1.17.0",
"react-is": "^17.0.1",
"react-scripts": "^4.0.1",
"wait-on": "^3.2.0"
},
"scripts": {
"react-start": "cross-env BROWSER=NONE react-scripts start",
"electron-start": "cross-env DEV=1 electron .",
"start": "concurrently \"npm run react-start\" \"wait-on http://localhost:3000/ && npm run electron-start\"",
"build": "react-scripts build",
"build:electron": "electron-builder -c.extraMetadata.main=build/electron.js",
"pack": "npm run build:electron -- --dir",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",
"fmt": "prettier --write \"src/**/*.js\"",
"fmt:check": "prettier --check \"src/**/*.js\"",
"storybook": "start-storybook --ci -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": "react-app"
},
"homepage": "./",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"build": {
"appId": "FOSSASIA-PSLAB",
"productName": "PSLab-Desktop",
"copyright": "Copyright © 2019-2020 FOSSASIA",
"asar": true,
"asarUnpack": "scripts/",
"linux": {
"target": [
"deb",
"rpm",
"tar.xz"
],
"icon": "src/resources/app_icon.png",
"category": "Utility"
},
"win": {
"target": [
"nsis"
],
"publish": [
"github"
],
"icon": "src/resources/app_icon.png",
"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
}
}