forked from joshwcomeau/guppy
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
217 lines (217 loc) Β· 6.39 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"name": "skpm-gui",
"productName": "Skpm",
"version": "0.1.0",
"private": true,
"main": "src/electron.js",
"homepage": "./",
"build": {
"appId": "io.skpm.gui",
"files": [
"build/**/*"
],
"asarUnpack": [
"node_modules/yarn/"
],
"publish": "github"
},
"repository": {
"type": "git",
"url": "https://github.com/skpm/skpm-gui.git"
},
"license": "ISC",
"scripts": {
"start": "cross-env NODE_ENV=development npm run start:react",
"start:react": "cross-env BROWSER=none node scripts/start.js",
"build": "node scripts/build.js",
"dist": "cross-env GENERATE_SOURCEMAP=false npm run build && electron-builder -c.extraMetadata.main=build/electron.js",
"dist:all": "cross-env GENERATE_SOURCEMAP=false npm run build && electron-builder -mwl -c.extraMetadata.main=build/electron.js",
"publish": "yarn dist --publish always",
"publish:all": "yarn dist:all --publish always",
"test": "node scripts/test.js --env=node",
"coverage": "yarn test --coverage",
"report-coverage": "yarn coverage && codecov",
"flow": "flow",
"lint": "eslint src/**/*.js config/**/*.js",
"prettier": "prettier --write",
"detect-port": "cross-env ./node_modules/detect-port-alt/bin/detect-port 3000",
"precommit": "lint-staged",
"prepush": "yarn run flow",
"build-storybook": "build-storybook -c .storybook -o storybook-static",
"storybook": "start-storybook -p 9001 -c .storybook"
},
"lint-staged": {
"*.{js,jsx,mjs}": [
"npm run prettier",
"eslint",
"git add"
]
},
"dependencies": {
"create-sketch-plugin": "^1.1.9",
"electron-debug": "2.0.0",
"electron-devtools-installer": "2.2.4",
"electron-store": "2.0.0",
"electron-updater": "3.1.2",
"fix-path": "2.1.0",
"ps-tree": "1.1.0",
"react-custom-scrollbars": "4.2.1",
"react-dnd": "3.0.0",
"react-dnd-html5-backend": "3.0.1",
"rimraf": "2.6.2",
"yarn": "1.9.2"
},
"devDependencies": {
"@babel/core": "7.0.0-rc.1",
"@babel/runtime": "7.0.0-beta.44",
"@storybook/addon-actions": "3.4.10",
"@storybook/addon-info": "3.4.10",
"@storybook/react": "3.4.10",
"ansi-to-html": "0.6.4",
"async": "2.6.1",
"autoprefixer": "7.2.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "22.1.0",
"babel-loader": "8.0.0-beta.0",
"babel-plugin-named-asset-import": "1.0.0-next.66cc7a90",
"babel-plugin-react-docgen": "2.0.0-babel7.0",
"babel-polyfill": "6.26.0",
"babel-preset-react-app": "4.0.0-next.66cc7a90",
"base64-inline-loader": "^1.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"chalk": "2.4.1",
"codecov": "3.1.0",
"color": "3.0.0",
"cross-env": "5.2.0",
"css-loader": "0.28.9",
"dotenv": "5.0.0",
"dotenv-expand": "4.2.0",
"electron": "2.0.1",
"electron-builder": "20.28.4",
"electron-log": "^2.2.17",
"eslint": "5.7.0",
"eslint-config-react-app": "3.0.4",
"eslint-loader": "1.9.0",
"eslint-plugin-flowtype": "3.0.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.6",
"flow-bin": "0.83.0",
"foreman": "2.0.0",
"fs-extra": "5.0.0",
"graphql": "0.12.3",
"graphql-tag": "2.6.1",
"html-webpack-plugin": "2.30.1",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"immer": "1.3.1",
"jest": "23.3",
"lint-staged": "7.2.0",
"loader-utils": "1.1.0",
"mixpanel-browser": "2.22.4",
"moment": "2.22.2",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.10",
"prettier": "1.13.7",
"promise": "8.0.1",
"raf": "3.4.0",
"react": "16.3.2",
"react-dev-utils": "6.0.0-next.66cc7a90",
"react-docgen": "2.21.0",
"react-dom": "16.3.2",
"react-icons-kit": "1.1.5",
"react-instantsearch": "5.1.0",
"react-motion": "0.5.2",
"react-powerplug": "1.0.0-rc.1",
"react-redux": "5.0.7",
"react-sortable-tree": "^2.2.0",
"react-sortable-tree-theme-full-node-drag": "^1.1.0",
"react-spring": "5.3.8",
"react-tippy": "1.2.2",
"react-transition-group": "2.3.1",
"redux": "4.0.0",
"redux-devtools": "3.4.1",
"redux-devtools-dock-monitor": "1.1.3",
"redux-devtools-log-monitor": "1.4.0",
"redux-saga": "0.16.0",
"redux-storage": "4.1.2",
"redux-storage-decorator-debounce": "1.1.3",
"redux-storage-decorator-filter": "1.1.8",
"redux-storage-decorator-migrate": "1.1.0",
"reselect": "3.0.1",
"resize-observer-polyfill": "1.5.0",
"resolve": "1.6.0",
"sass-loader": "7.0.0",
"slug": "0.9.1",
"style-loader": "0.19.1",
"styled-components": "3.2.6",
"svgr": "1.8.1",
"sw-precache-webpack-plugin": "0.11.4",
"thread-loader": "1.1.2",
"uglifyjs-webpack-plugin": "1.1.6",
"url-loader": "0.6.2",
"uuid": "3.3.2",
"webpack": "3.10.0",
"webpack-dev-server": "2.11.0",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3"
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"setupFiles": [
"<rootDir>/config/jest/electron.js",
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"**/__tests__/**/*.{js,jsx,mjs}",
"**/?(*.)(spec|test).{js,jsx,mjs}"
],
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^.+\\.(graphql)$": "<rootDir>/config/jest/graphqlTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json|graphql)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$",
"^.+\\.module\\.css$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.css$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"mjs",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
}
}