forked from ever-co/ever-gauzy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
365 lines (365 loc) · 15 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
{
"name": "gauzy",
"version": "0.1.0",
"description": "Gauzy",
"license": "AGPL-3.0",
"homepage": "https://gauzy.co",
"repository": {
"type": "git",
"url": "git+https://github.com/ever-co/gauzy.git"
},
"bugs": {
"url": "https://github.com/ever-co/gauzy/issues"
},
"private": true,
"author": {
"name": "Ever Co. LTD",
"email": "ever@ever.co",
"url": "https://ever.co"
},
"scripts": {
"ng": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng",
"config": "yarn ts-node ./.scripts/configure.ts",
"config:dev": "yarn run config -- --environment=dev",
"config:prod": "yarn run config -- --environment=prod",
"start": "npm run postinstall.web && yarn start:gauzy",
"start:prod": "yarn start:gauzy:prod",
"start:gauzy": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run config:dev && yarn ng serve gauzy",
"start:gauzy:pm2": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run build && yarn ts-node ./apps/gauzy/src/pm2bootstrap.ts",
"start:gauzy:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && yarn ng serve gauzy --disable-host-check --host 0.0.0.0 -c=production --prod",
"start:api": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn ng serve api",
"start:api:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn ng serve api --host 0.0.0.0 -c=production --prod",
"start:api:pm2": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run build:api && yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json ./apps/api/src/pm2bootstrap.ts",
"seed": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 yarn run config:dev && yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json ./apps/api/src/seed.ts",
"seed:all": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 yarn run config:dev && yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json ./apps/api/src/seedAll.ts",
"seed:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 yarn run config:prod && yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json ./apps/api/src/seed.ts",
"bootstrap": "yarn lerna bootstrap",
"prebuild": "rimraf dist coverage",
"build": "npm run postinstall.web && cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run config:dev && yarn ng build gauzy",
"build:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && yarn ng build gauzy -c=production --prod",
"build:prod:circle": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && yarn ng build gauzy -c=production --prod --no-progress",
"build:api": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn ng build api",
"build:api:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn ng build api -c=production --prod",
"bundle-report": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && yarn ng build -c=production --stats-json && webpack-bundle-analyzer dist/apps/gauzy/stats.json",
"commit": "git-cz",
"commit:lint": "commitlint -E HUSKY_GIT_PARAMS",
"semantic-release": "semantic-release",
"test": "npm run postinstall.web && cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run config:dev && yarn ng test",
"lint": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run config:dev && yarn nx lint && yarn ng lint",
"e2e": "npm run postinstall.web && cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn run config:dev && yarn ng e2e",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected": "nx affected",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "ng update @nrwl/workspace",
"update:check": "ng update",
"workspace-schematic": "nx workspace-schematic",
"dep-graph": "nx dep-graph",
"help": "nx help",
"doc:build": "compodoc -p tsconfig.json -d dist/docs",
"doc:serve": "compodoc -s -d dist/docs",
"doc:build-serve": "compodoc -p tsconfig.json -d docs -s",
"postinstall": "install-app-deps",
"postinstall.electron": "node tools/electron/postinstall",
"postinstall.web": "node tools/web/postinstall",
"build:desktop": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && npm run prepare:desktop && ng build desktop --prod --base-href ./ && ng build desktop-api --prod && ng build api-desktop --prod && npm run build:desktop:ui",
"build:desktop:local": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && npm run build:desktop && electron dist/apps/desktop",
"build:desktop:linux": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && npm run build:desktop && cd dist/apps/desktop && npx electron-builder@22.6.1 -c.electronVersion=8.3.0 build --linux",
"build:desktop:windows": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 yarn run config:prod && npm run build:desktop && cd dist/apps/desktop && npx electron-builder@22.6.1 -c.electronVersion=8.3.0 build --windows",
"build:desktop:mac": "npm run build:desktop && cd dist/apps/desktop && npx electron-builder@22.6.1 -c.electronVersion=8.3.0 build --mac",
"prepare:desktop": "npm run postinstall.electron && tsc -p apps/desktop/tsconfig.json",
"serve:desktop.target": "nx serve desktop",
"serve:desktop": "wait-on http-get://localhost:4200/ && electron apps/desktop/src --serve",
"start:desktop": "npm run prepare:desktop && npm-run-all -p serve.electron.gauzy-desktop.target serve.electron.gauzy-desktop",
"start.gauzy": "npm run postinstall.web && nx serve gauzy",
"build:desktop:mac:quick": "cd dist/apps/desktop && npx electron-builder@22.6.1 -c.electronVersion=8.3.0 build --mac",
"build:desktop:local:quick": "electron dist/apps/desktop --prod",
"build:desktop:windows:quick": "cd dist/apps/desktop && npx electron-builder@22.6.1 -c.electronVersion=8.3.0 build --windows",
"build:sqlite:mac": "cd node_modules/sqlite3 && HOME=~/.electron-gyp node-pre-gyp rebuild --target=8.3.0 --arch=x64 --dist-url=https://electronjs.org/headers",
"build:sqlite:windows": "cd node_modules/sqlite3 && cross-env HOME=~/.electron-gyp node-pre-gyp rebuild --target=8.3.0 --arch=x64 --target_platform=win32 --dist-url=https://electronjs.org/headers",
"debug:desktop:app:mac": "lldb ./dist/apps/desktop-packages/mac/GauzyDesktop.app && run",
"start:desktop:ui": "npm run postinstall.web && cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 && yarn ng serve desktop-ui",
"build:desktop:ui": "cross-env NODE_ENV=production NODE_OPTIONS=--max_old_space_size=4096 && ng build desktop-ui --prod --base-href",
"prepare:desktop:dev": "npm run postinstall.electron && tsc -p apps/desktop/tsconfig.dev.json",
"start:api:desktop": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn ng serve api-desktop"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "pretty-quick --no-verify --staged"
}
},
"lint-staged": {},
"release": {
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"publish": [
"@semantic-release/github"
],
"generateNotes": {
"preset": "angular"
},
"npmPublish": false
},
"workspaces": [
"libs/*",
"apps/*",
"tools"
],
"resolutions": {
"uglify-js": "npm:terser"
},
"dependencies": {
"@agm/core": "^1.0.0-beta.6",
"@akveo/ng2-completer": "^9.0.1",
"@angular/animations": "^9.1.7",
"@angular/cdk": "^9.1.7",
"@angular/common": "^9.1.7",
"@angular/compiler": "^9.1.7",
"@angular/core": "^9.1.7",
"@angular/forms": "^9.1.7",
"@angular/platform-browser": "^9.1.7",
"@angular/platform-browser-dynamic": "^9.1.7",
"@angular/router": "^9.1.7",
"@angular/service-worker": "^9.1.7",
"@asymmetrik/ngx-leaflet": "^5.0.2",
"@cloudinary/angular-5.x": "^1.0.3",
"@datorama/akita": "^4.23.0",
"@datorama/akita-ngdevtools": "^4.0.0",
"@fortawesome/fontawesome-free": "^5.9.0",
"@fullcalendar/angular": "5.0.0-beta.2",
"@fullcalendar/bootstrap": "5.0.0-beta.2",
"@fullcalendar/core": "5.0.0-beta.2",
"@fullcalendar/daygrid": "5.0.0-beta.2",
"@fullcalendar/interaction": "5.0.0-beta.2",
"@fullcalendar/moment-timezone": "5.0.0-beta.2",
"@fullcalendar/timegrid": "5.0.0-beta.2",
"@nebular/auth": "^5.0.0",
"@nebular/bootstrap": "^5.0.0",
"@nebular/eva-icons": "^5.0.0",
"@nebular/security": "^5.0.0",
"@nebular/theme": "^5.0.0",
"@ng-select/ng-select": "4.0.4",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@sentry/browser": "^5.14.0",
"@swimlane/ngx-charts": "^12.0.1",
"angular-tree-component": "^8.5.6",
"angular2-chartjs": "^0.5.1",
"angular2-draggable": "^2.3.2",
"angular2-toaster": "^8.0.0",
"archiver": "^3.1.1",
"bcrypt": "^4.0.1",
"bootstrap": "^4.3.1",
"brace": "^0.11.1",
"chart.js": "^2.9.3",
"chart.piecelabel.js": "^0.15.0",
"ckeditor": "^4.12.0",
"ckeditor4-angular": "^1.0.1",
"classlist.js": "^1.1.20150312",
"cloudinary-core": "^2.7.4",
"core-js": "^3.2.1",
"csv-parser": "^2.3.2",
"csv-writer": "^1.6.0",
"d3": "4.13.0",
"d3-selection-multi": "1.0.1",
"date-fns": "~2.0.1",
"date-holidays": "^1.6.1",
"detect-passive-events": "^1.0.4",
"echarts": "^4.2.1",
"email-templates": "^7.0.5",
"eva-icons": "^1.1.1",
"file-saver": "^2.0.2",
"filepond": "^4.5.1",
"filepond-plugin-file-encode": "^2.1.0",
"filepond-plugin-file-validate-size": "^2.2.0",
"filepond-plugin-file-validate-type": "^1.2.0",
"filepond-plugin-image-crop": "^2.0.0",
"filepond-plugin-image-exif-orientation": "^1.0.0",
"filepond-plugin-image-preview": "^4.4.0",
"filepond-plugin-image-resize": "^2.0.0",
"filepond-plugin-image-transform": "^3.4.3",
"formidable": "^1.2.1",
"fullcalendar": "5.0.0-beta.2",
"hammerjs": "^2.0.8",
"handlebars": "^4.6.0",
"html-to-text": "^5.1.1",
"html2canvas": "^1.0.0-rc.5",
"immer": "^3.2.0",
"intl": "^1.2.5",
"ionicons": "^4.5.8",
"jsonwebtoken": "^8.5.1",
"keycloak-js": "^7.0.0",
"leaflet": "^1.5.1",
"moment": "^2.25.3",
"moment-timezone": "^0.5.27",
"nebular-icons": "^1.1.0",
"ng2-ace-editor": "^0.3.7",
"ng2-ckeditor": "^1.2.6",
"ng2-file-upload": "^1.3.0",
"ng2-smart-table": "^1.6.0",
"ng5-slider": "^1.2.4",
"ngx-color-picker": "^8.2.0",
"ngx-echarts": "^4.2.1",
"ngx-electron": "^2.2.0",
"ngx-filepond": "^5.0.1",
"ngx-moment": "^3.5.0",
"ngx-page-scroll": "^6.0.2",
"ngx-page-scroll-core": "^6.0.2",
"ngx-perfect-scrollbar": "^8.0.0",
"ngx-permissions": "^7.0.3",
"ngx-take-until-destroy": "^5.4.0",
"normalize.css": "^8.0.1",
"pace-js": "^1.0.2",
"pdfmake": "^0.1.65",
"pm2": "^4.4.0",
"pug": "^2.0.4",
"reflect-metadata": "^0.1.13",
"roboto-fontface": "^0.10.0",
"rxjs": "^6.6.2",
"rxjs-compat": "^6.6.2",
"screenfull": "^4.2.1",
"smooth-scrollbar": "^8.3.1",
"socicon": "^3.0.5",
"sqlite3": "https://github.com/ever-co/node-sqlite3",
"tinymce": "^5.2.2",
"tslib": "^1.10.0",
"typeface-exo": "^0.0.61",
"underscore": "^1.10.2",
"unzipper": "^0.10.10",
"uuid": "^7.0.2",
"web-animations-js": "^2.3.2",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^9.1.0",
"@angular-devkit/build-angular": "~0.901.6",
"@angular-devkit/build-ng-packagr": "~0.901.6",
"@angular/cli": "^9.1.6",
"@angular/compiler-cli": "^9.1.7",
"@angular/language-service": "^9.1.7",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/config-lerna-scopes": "^8.1.0",
"@commitlint/travis-cli": "^8.1.0",
"@compodoc/compodoc": "^1.1.10",
"@nrwl/angular": "^9.3.0",
"@nrwl/cypress": "^9.3.0",
"@nrwl/jest": "^9.3.0",
"@nrwl/nest": "^9.3.0",
"@nrwl/node": "^9.3.0",
"@nrwl/workspace": "^9.3.0",
"@nstudio/angular": "9.0.3",
"@nstudio/electron": "9.0.3",
"@nstudio/electron-angular": "9.0.3",
"@nstudio/web": "9.0.3",
"@nstudio/web-angular": "9.0.3",
"@nstudio/xplat": "^9.0.3",
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/git": "^7.0.16",
"@semantic-release/github": "^5.4.3",
"@semantic-release/npm": "^5.1.15",
"@types/async": "^3.2.3",
"@types/bcrypt": "^3.0.0",
"@types/chart.js": "^2.9.15",
"@types/d3-color": "^1.2.2",
"@types/email-templates": "^7.0.1",
"@types/faker": "^4.1.12",
"@types/google.analytics": "^0.0.40",
"@types/googlemaps": "^3.36.5",
"@types/hammerjs": "^2.0.36",
"@types/html-to-text": "5.1.0",
"@types/i18n": "^0.8.6",
"@types/jest": "^24.0.15",
"@types/leaflet": "^1.4.4",
"@types/moment": "^2.13.0",
"@types/moment-timezone": "^0.5.12",
"@types/node": "^12.11.1",
"@types/underscore": "^1.9.4",
"@types/uuid": "^3.4.4",
"cloc": "^2.4.0",
"codelyzer": "^5.2.2",
"commitizen": "^4.0.3",
"concurrently": "^4.1.1",
"conventional-changelog": "^3.1.4",
"conventional-changelog-cli": "^2.0.23",
"cross-env": "^5.2.1",
"cypress": "^4.6.0",
"cz-conventional-changelog": "^3.0.2",
"dotenv": "^8.2.0",
"envalid": "^6.0.1",
"fork-ts-checker-webpack-plugin": "^4.1.4",
"husky": "^4.2.5",
"jasmine-core": "^3.4.0",
"jasmine-spec-reporter": "^4.2.1",
"jest": "^24.8.0",
"jest-preset-angular": "^7.1.1",
"karma": "^4.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^2.0.5",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"lerna": "^3.21.0",
"lerna-changelog": "^1.0.1",
"lighthouse": "^5.0.0",
"lint-staged": "^9.2.1",
"ng-packagr": "^9.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"prettier-tslint": "^0.4.2",
"pretty-quick": "^2.0.1",
"protractor": "^5.4.2",
"rimraf": "^3.0.2",
"rxjs-tslint": "0.1.5",
"semantic-release": "^17.0.7",
"snyk": "^1.323.2",
"stylelint": "^13.5.0",
"terser": "^4.7.0",
"terser-webpack-plugin": "^3.0.1",
"ts-jest": "^24.0.2",
"ts-loader": "^7.0.4",
"ts-node": "^8.10.1",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-language-service": "^0.9.9",
"typescript": "~3.8.3",
"webpack-bundle-analyzer": "^3.8.0"
},
"engines": {
"node": ">=10.15.0",
"yarn": ">=1.13.0"
},
"snyk": true,
"xplat": {
"prefix": "gauzy",
"framework": "angular"
}
}