forked from BoostIO/BoostNote-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
309 lines (309 loc) · 12.6 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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
{
"name": "boostnote.next",
"productName": "Boost Note",
"version": "0.23.1",
"description": "A Polished Notes App with Github Flavored Markdown",
"main": "app/index.js",
"repository": {
"type": "git",
"url": "https://github.com/BoostIO/BoostNote-App.git"
},
"scripts": {
"dev:cloud": "env-cmd cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack-dev-server --mode development --config webpack.cloud.config.ts",
"dev:webpack": "env-cmd cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack-dev-server --mode development",
"dev:electron": "env-cmd ts-node -P tsconfig-webpack.json scripts/dev-electron.ts",
"dev:mobile": "env-cmd cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack-dev-server --mode development --config webpack.mobile.config.ts",
"start": "electron electron/index.js",
"lint": "eslint src/* --ext .ts,.tsx",
"format": "prettier --write \"src/**/*\"",
"test": "npm run lint && npm run test-api",
"test-api": "jest -c jest.json",
"test-api:watch": "jest -c jest.json --watch",
"tsc": "tsc --watch --noEmit",
"ico": "png2icons static/logo.png static/icon -allwe",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"build:electron-dev": "npm run build:electron-renderer-dev && npm run build:electron-main-dev",
"build:electron-staging": "npm run build:electron-renderer-staging && npm run build:electron-main-staging",
"build:electron-prod": "npm run build:electron-renderer-prod && npm run build:electron-main-prod",
"build:electron-renderer-dev": "rimraf electron/compiled && env-cmd --file .env cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production",
"build:electron-renderer-staging": "rimraf electron/compiled && env-cmd --file .env.staging cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production",
"build:electron-renderer-prod": "rimraf electron/compiled && env-cmd --file .env.production cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production",
"build:electron-main-dev": "rimraf electron/index.js && env-cmd --file .env ts-node -P tsconfig-webpack.json scripts/build-electron-main",
"build:electron-main-staging": "rimraf electron/index.js && env-cmd --file .env.staging ts-node -P tsconfig-webpack.json scripts/build-electron-main",
"build:electron-main-prod": "rimraf electron/index.js && env-cmd --file .env.production ts-node -P tsconfig-webpack.json scripts/build-electron-main",
"meta": "node scripts/meta.js",
"prepack": "rimraf dist && npm run meta && env-cmd --file .env.production cross-env PREPACK=true electron-builder --dir",
"pack": "rimraf dist && npm run meta && env-cmd --file .env.production electron-builder",
"release": "npm run build:electron-prod && rimraf dist && npm run meta && env-cmd --file .env.production electron-builder -- --publish",
"build:cloud-staging": "rimraf compiled-cloud && env-cmd --file .env.staging cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production --config webpack.cloud.config.ts",
"build:cloud-prod": "rimraf compiled-cloud && env-cmd --file .env.production cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production --config webpack.cloud.config.ts",
"build:mobile-staging": "rimraf compiled-mobile && env-cmd --file .env.staging cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production --config webpack.mobile.config.ts",
"build:mobile-prod": "rimraf compiled-mobile && env-cmd --file .env.production cross-env TS_NODE_PROJECT=\"tsconfig-webpack.json\" webpack --mode production --config webpack.mobile.config.ts",
"deploy:cloud-staging": "npm run build:cloud-staging && npm run deploy-upload:cloud-staging && npm run deploy-refresh:cloud-staging",
"deploy:cloud-prod": "npm run build:cloud-prod && npm run deploy-upload:cloud-prod && npm run deploy-refresh:cloud-prod",
"deploy:mobile-staging": "npm run build:mobile-staging && npm run deploy-upload:mobile-staging && npm run deploy-refresh:mobile-staging",
"deploy:mobile-prod": "npm run build:mobile-prod && npm run deploy-upload:mobile-prod && npm run deploy-refresh:mobile-prod",
"deploy-upload:cloud-staging": "env-cmd --file .env.staging -x aws s3 sync ./compiled-cloud s3://\\$CLOUD_S3_BUCKET --acl public-read",
"deploy-upload:cloud-prod": "env-cmd --file .env.production -x aws s3 sync ./compiled-cloud s3://\\$CLOUD_S3_BUCKET --acl public-read",
"deploy-upload:mobile-staging": "env-cmd --file .env.staging -x aws s3 sync ./compiled-mobile s3://\\$MOBILE_S3_BUCKET --acl public-read",
"deploy-upload:mobile-prod": "env-cmd --file .env.production -x aws s3 sync ./compiled-mobile s3://\\$MOBILE_S3_BUCKET --acl public-read",
"deploy-refresh:cloud-staging": "env-cmd --file .env.staging -x aws cloudfront create-invalidation --distribution-id \\$CLOUD_CF_ID --paths \"/*\"",
"deploy-refresh:cloud-prod": "env-cmd --file .env.production -x aws cloudfront create-invalidation --distribution-id \\$CLOUD_CF_ID --paths \"/*\"",
"deploy-refresh:mobile-staging": "env-cmd --file .env.staging -x aws cloudfront create-invalidation --distribution-id \\$MOBILE_CF_ID --paths \"/*\"",
"deploy-refresh:mobile-prod": "env-cmd --file .env.production -x aws cloudfront create-invalidation --distribution-id \\$MOBILE_CF_ID --paths \"/*\""
},
"keywords": [
"markdown",
"snippet",
"notes",
"gfm"
],
"author": "Junyoung Choi <fluke8259@gmail.com>",
"license": "GPL-3.0",
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@babel/plugin-proposal-private-property-in-object": "^7.12.1",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/react": "^6.3.12",
"@testing-library/react-hooks": "^2.0.1",
"@types/codemirror": "0.0.108",
"@types/dashify": "^1.0.0",
"@types/diff": "^5.0.1",
"@types/emoji-mart": "^3.0.4",
"@types/filenamify": "^2.0.2",
"@types/history": "^4.7.3",
"@types/html-webpack-plugin": "^3.2.1",
"@types/jest": "^23.3.14",
"@types/js-yaml": "^4.0.0",
"@types/lodash": "^4.14.138",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.throttle": "^4.1.6",
"@types/mixpanel-browser": "^2.35.4",
"@types/node": "^12.7.5",
"@types/nprogress": "^0.2.0",
"@types/pako": "^1.0.1",
"@types/path-parse": "^1.0.19",
"@types/prettier": "^1.18.2",
"@types/ramda": "^0.25.51",
"@types/react": "^16.9.2",
"@types/react-content-loader": "^4.0.0",
"@types/react-datepicker": "^3.1.8",
"@types/react-dom": "^16.9.0",
"@types/react-grid-layout": "^1.3.0",
"@types/react-helmet": "^6.1.0",
"@types/react-hot-loader": "^4.1.0",
"@types/react-responsive": "^8.0.2",
"@types/react-select": "^4.0.11",
"@types/shortid": "0.0.29",
"@types/terser-webpack-plugin": "^2.2.0",
"@types/uuid": "^8.3.1",
"@types/uuid-parse": "^1.0.0",
"@types/webpack": "^4.41.24",
"@types/webpack-dev-server": "^3.1.7",
"@types/webpack-env": "^1.14.0",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"autoprefixer": "^10.3.7",
"babel-loader": "^8.2.2",
"chalk": "^4.0.0",
"compression-webpack-plugin": "^6.1.1",
"copy-webpack-plugin": "^6.2.1",
"cross-env": "^6.0.0",
"css-loader": "^5.2.6",
"electron-builder": "^22.8.1",
"electron-notarize": "^1.0.0",
"env-cmd": "^10.0.1",
"error-overlay-webpack-plugin": "^0.4.2",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^26.6.2",
"json-loader": "^0.5.7",
"path-browserify": "^1.0.1",
"png2icons": "^2.0.1",
"postcss-flexbugs-fixes": "^5.0.2",
"prettier": "^2.5.1",
"react-hot-loader": "^4.12.13",
"react-test-renderer": "^16.9.0",
"rimraf": "^3.0.0",
"style-loader": "^1.0.0",
"ts-jest": "^26.4.3",
"ts-loader": "^7.0.3",
"ts-node": "^8.4.1",
"type-fest": "^0.13.1",
"typescript": "^4.3.5",
"url-loader": "^2.1.0",
"uuid-parse": "^1.1.0",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@dnd-kit/core": "^5.0.1",
"@dnd-kit/sortable": "^6.0.0",
"@dnd-kit/utilities": "^3.0.2",
"@fullcalendar/daygrid": "^5.10.1",
"@fullcalendar/interaction": "^5.10.1",
"@fullcalendar/react": "^5.10.1",
"@mdi/js": "^5.9.55",
"@mdi/react": "^1.2.1",
"@stripe/react-stripe-js": "^1.2.0",
"@stripe/stripe-js": "^1.11.0",
"chart.js": "^2.9.4",
"classcat": "^4.0.2",
"codemirror": "^5.59.2",
"codemirror-abap": "^0.2.2",
"coffeescript": "^2.4.1",
"copy-to-clipboard": "^3.3.1",
"dashify": "^2.0.0",
"date-fns": "^2.16.1",
"diff": "^4.0.2",
"dotenv": "^8.2.0",
"electron": "^12.1.0",
"electron-log": "^4.0.0",
"electron-updater": "^4.2.0",
"emoji-mart": "^3.0.0",
"event-source-polyfill": "^1.0.22",
"event-target-shim": "^6.0.2",
"file-loader": "^5.0.2",
"file-type": "^14.6.2",
"filenamify": "^4.1.0",
"flowchart.js": "^1.15.0",
"fuse.js": "^6.4.6",
"got": "^11.8.1",
"hast-util-sanitize": "^3.0.0",
"hastscript": "^5.1.0",
"history": "^4.10.1",
"i18next": "^19.0.0",
"idb": "^6.0.0",
"immer": "^8.0.1",
"is-electron": "^2.2.0",
"is-svg": "^4.3.1",
"js-yaml": "^4.0.0",
"ky": "^0.26.0",
"lexorank": "^1.0.4",
"lodash": "^4.17.21",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"ltstrg": "^1.0.1",
"mermaid": "^8.13.8",
"mixpanel-browser": "^2.40.1",
"nprogress": "^0.2.0",
"overlayscrollbars-react": "^0.2.3",
"ow": "^0.13.2",
"pako": "^1.0.11",
"path-parse": "^1.0.7",
"path-to-regexp": "^6.2.0",
"plur": "^4.0.0",
"ramda": "^0.26.1",
"raw-loader": "^4.0.0",
"react": "^16.9.0",
"react-colorful": "^5.5.0",
"react-content-loader": "^6.1.0",
"react-countdown": "^2.3.2",
"react-datepicker": "^3.8.0",
"react-dom": "^16.9.0",
"react-google-login": "^5.2.2",
"react-grid-layout": "^1.3.0",
"react-helmet": "^6.1.0",
"react-i18next": "^11.0.1",
"react-responsive": "^8.2.0",
"react-select": "^4.0.2",
"react-switch": "^6.0.0",
"react-use": "^13.27.1",
"read-chunk": "^3.2.0",
"rehype-document": "^5.1.0",
"rehype-katex": "^3.1.0",
"rehype-parse": "^7.0.1",
"rehype-raw": "^4.0.2",
"rehype-react": "^6.1.0",
"rehype-sanitize": "^3.0.1",
"rehype-slug": "^4.0.1",
"rehype-stringify": "^8.0.0",
"remark-admonitions": "^1.2.1",
"remark-emoji": "^2.1.0",
"remark-math": "^2.0.1",
"remark-parse": "^8.0.0",
"remark-rehype": "^7.0.0",
"remark-shortcodes": "^0.3.1",
"remark-slug": "^6.0.0",
"remark-stringify": "^8.1.1",
"remark-toc": "^7.2.0",
"rxjs": "^6.6.3",
"semver": "^7.3.4",
"shortid": "^2.2.15",
"slugify": "^1.4.6",
"styled-components": "^4.3.2",
"unified": "^9.1.0",
"unist-util-visit": "^2.0.3",
"use-force-update": "^1.0.7",
"uuid": "^3.4.0",
"webpack-bundle-analyzer": "^4.4.2",
"y-codemirror": "^3.0.1",
"y-websocket": "^1.3.9",
"yaml": "^1.10.0",
"yjs": "^13.5.6"
},
"build": {
"appId": "com.boostio.boostnote",
"artifactName": "boost-note-${os}.${ext}",
"copyright": "Copyright © 2016-2021 BoostIO",
"directories": {
"app": "electron"
},
"asar": false,
"afterSign": "build-utils/afterSignHook.js",
"mac": {
"icon": "static/boostnote-mac-icon.png",
"hardenedRuntime": true,
"entitlementsInherit": "macOs/entitlements.mac.plist",
"entitlements": "macOs/entitlements.mac.plist"
},
"linux": {
"icon": "static/icon.icns",
"target": [
"deb",
"rpm",
"AppImage"
]
},
"rpm": {
"depends": [
"/usr/lib64/libuuid.so.1"
]
},
"win": {
"verifyUpdateCodeSignature": false,
"certificateSubjectName": "BOOST IO K.K.",
"icon": "static/icon.ico",
"target": {
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
},
"protocols": [
{
"name": "Boost Note",
"schemes": [
"boostnote"
]
}
],
"publish": "github"
}
}