-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
198 lines (198 loc) · 5.45 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
{
"name": "faao",
"version": "1.0.0",
"private": true,
"description": "Faao is a GitHub Issue/Pull Request client on Electron/Browser.",
"homepage": "./",
"license": "MIT",
"author": "azu <[email protected]>",
"files": [
"bin/",
"lib/",
"src/"
],
"main": "build/electron.js",
"scripts": {
"build": "npm-run-all build:src build:main-src",
"build:docs": "almin-usecase-map-generator \"./src/use-case/**/*UseCase.ts\" --output build/meta/use-case.svg",
"build:main-src": "tsc -p ./tsconfig.electron.json",
"build:src": "react-scripts build",
"clean": "rimraf public/build dist && mkdirp public/build",
"dist": "npm run build && electron-builder",
"eject": "react-scripts eject",
"electron": "wait-on http://localhost:3000 && cross-env FAAO_URL=http://localhost:3000/ electron public/electron.js",
"electron:prod": "electron build/electron.js",
"postinstall": "electron-builder install-app-deps",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "# eslint \"src/**/*.{ts,tsx}\"",
"lint:depcruise": "depcruise --validate .dependency-cruiser.json src",
"pack": "npm run build && electron-builder --dir",
"preelectron-pack": "npm run build",
"prepublishOnly": "npm run --if-present build",
"prettier": "prettier \"src/**/*.{ts,tsx,css}\" --write --print-width 100 --tab-width 4",
"release": "npm run build && electron-builder",
"start": "cross-env BROWSER=none react-scripts start",
"test": "npm-run-all test:* lint",
"test:unit": "react-scripts test --env=node",
"updateSnapshot": "react-scripts test --updateSnapshot --env=node",
"website": "npm-run-all build build:docs"
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write --print-width 100 --tab-width 4",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"transformIgnorePatterns": [
"node_modules/"
]
},
"dependencies": {
"@azu/remove-markdown": "^1.0.0",
"@immutable-array/prototype": "^1.0.4",
"@octokit/rest": "^16.35.0",
"@primer/octicons-react": "^9.3.1",
"@uifabric/icons": "^7.1.1",
"almin": "^0.18.1",
"almin-logger": "^6.2.3",
"almin-react-container": "^0.7.3",
"base64-arraybuffer": "^0.2.0",
"classnames": "^2.2.6",
"codemirror": "^5.27.2",
"combokeys": "^2.4.6",
"debug": "^2.6.9",
"electron-context-menu": "^0.14.0",
"electron-default-menu": "^1.0.1",
"execall": "^1.0.0",
"filterable": "^2.0.1",
"fromfrom": "^1.2.0",
"github-api": "^3.2.2",
"github-url-to-object": "^4.0.4",
"graphql-request": "^1.8.2",
"is-electron": "^2.0.0",
"localforage": "^1.5.0",
"localforage-memoryStorageDriver": "^0.9.2",
"lodash": "^4.17.13",
"lru-map-like": "^2.0.0",
"map-like": "^2.0.0",
"moment": "^2.19.3",
"octokat": "^0.8.0",
"office-ui-fabric-react": "~7.22.1",
"parse-github-event": "^1.1.2",
"react": "^16.8.1",
"react-codemirror": "git://github.com/skidding/react-codemirror.git#106-fix-update",
"react-color": "^2.17.0",
"react-dom": "^16.8.1",
"react-topbar-progress-indicator": "^1.0.0",
"request-idle-polyfill": "^1.0.1",
"shallow-equal-object": "^1.1.1",
"suitcss-classnames": "^1.1.0",
"type-fest": "^0.8.1",
"ulid": "^2.3.0",
"url-join": "^2.0.2",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"@types/classnames": "^2.2.0",
"@types/combokeys": "^2.4.5",
"@types/electron": "^1.6.10",
"@types/github-url-to-object": "^4.0.0",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.23",
"@types/lodash": "^4.14.149",
"@types/node": "^12.12.14",
"@types/prop-types": "^15.5.8",
"@types/react": "16.8.2",
"@types/react-color": "^2.13.3",
"@types/react-dom": "16.8.0",
"@types/url-join": "^0.8.2",
"almin-usecase-map-generator": "^1.0.2",
"cross-env": "^5.2.0",
"dependency-cruiser": "^2.2.3",
"electron": "6.0.1",
"electron-builder": "^21.2.0",
"electron-packager": "^14.0.4",
"glob": "^7.1.2",
"husky": "^1.3.1",
"json-loader": "^0.5.4",
"lint-staged": "^8.1.3",
"minimatch": "^3.0.4",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"react-scripts": "^3.3.0",
"rimraf": "^2.6.3",
"ts-jest": "^24.2.0",
"ts-node": "^8.5.4",
"typemoq": "^1.7.0",
"typescript": "^3.7.3",
"wait-on": "^3.2.0"
},
"resolutions": {
"@types/react": "16.8.2",
"@types/react-dom": "16.8.0"
},
"build": {
"productName": "Faao",
"appId": "info.efcl.faao",
"asar": true,
"npmRebuild": false,
"files": [
"main-src/**/*",
"public/**/*",
"build/**/*",
"assets/**/*",
"tsconfig.json",
"tsconfig.electron.json",
"node_modules/**/*"
],
"win": {
"target": [
"nsis"
]
},
"mac": {
"target": [
"dmg"
],
"category": "public.app-category.productivity"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"deb"
]
},
"publish": [
{
"provider": "github"
}
]
}
}