-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
245 lines (245 loc) · 13.8 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
{
"name": "laji-front",
"version": "1.0.44",
"main": "dist/electron",
"description": "laji.fi frontend",
"scripts": {
"ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
"ng": "ng",
"start": "npm run ng-high-memory -- serve laji --configuration=local",
"start:local-beta": "npm run ng-high-memory -- serve laji --configuration=local-beta",
"start:local-prod": "npm run ng-high-memory -- serve laji --configuration=local-prod --proxy-config proxy.local-prod.conf.js",
"start:strict": "npm run ng-high-memory -- serve laji --configuration=strict",
"start:local:prod": "NODE_ENV=development ng serve laji --configuration=local --proxy-config proxy.conf.js --aot=false --build-optimizer=false --host 0.0.0.0 --port 3000",
"start:ssr:local": "npm run ng-high-memory -- run laji:serve-ssr:local --port 3000",
"start:ssr:local-beta": "npm run ng-high-memory -- run laji:serve-ssr:local-beta --port 3000",
"start:ssr:local-prod": "npm run ng-high-memory -- run laji:serve-ssr:local-prod --port 3000 --proxy-config proxy.local-prod.conf.js",
"start:aot": "npm run ng-high-memory -- serve laji --configuration=local --host 0.0.0.0 --port 3000",
"start:prod": "npm run ng-high-memory -- serve laji --configuration=production --host 0.0.0.0 --port 3000",
"start:embedded": "npm run ng-high-memory -- serve laji --configuration=embedded --proxy-config proxy.conf.js --host 0.0.0.0 --port 3000",
"start:vir": "npm run ng-high-memory -- serve vir --configuration=local --host 0.0.0.0 --port 3000",
"start:vir-dev": "npm run ng-high-memory -- serve vir --configuration=dev --proxy-config proxy.conf.js --host 0.0.0.0 --port 3000",
"start:iucn": "npm run ng-high-memory -- serve iucn --configuration=dev --host 0.0.0.0 --port 3000",
"start:exhibition-screen": "npm run ng-high-memory -- serve exhibition-screen --configuration=local --host 0.0.0.0 --port 3000",
"start:exhibition-screen:prod": "npm run ng-high-memory -- serve exhibition-screen --configuration=production --host 0.0.0.0 --port 3000",
"start:bird-atlas": "npm run ng-high-memory -- serve bird-atlas --configuration=local --host 0.0.0.0 --port 3000",
"start:bird-atlas:prod": "npm run ng-high-memory -- serve bird-atlas --configuration=production --host 0.0.0.0 --port 3000",
"start:label-designer-element": "ng serve label-designer-element --host 0.0.0.0",
"start:label-designer:element": "npm run build:label-designer-electron && electron ./dist/electron",
"start:label-designer-electron": "ng serve label-designer-electron --host 0.0.0.0",
"start:kerttu-global": "npm run ng-high-memory -- serve kerttu-global --configuration=local --host 0.0.0.0 --port 3000",
"build:label-designer": "ng build label-designer --configuration production",
"build:prod": "npm run ng-high-memory -- build laji --configuration=production --base-href https://laji.fi/",
"build:local": "npm run ng-high-memory -- build laji --configuration=local --base-href http://localhost:3000/",
"build:local-beta": "npm run ng-high-memory -- build laji --configuration=local-beta --base-href http://localhost:3000/",
"build:local-prod": "npm run ng-high-memory -- build laji --configuration=local-prod --base-href http://localhost:3000/ --proxy-config proxy.local-prod.conf.js",
"build:embedded": "npm run ng-high-memory -- build laji --configuration=embedded",
"build:iucn": "npm run ng-high-memory -- build iucn --configuration production",
"build:vir": "npm run ng-high-memory -- build vir --configuration production",
"build:vir-dev": "npm run ng-high-memory -- build vir --configuration=dev",
"build:vir:integrate-w-backend:watch": "npm run ng-high-memory -- build vir --configuration=integrate-w-backend --watch",
"build:dev": "npm run ng-high-memory -- build laji --configuration=dev --base-href https://dev.laji.fi",
"build:beta": "npm run ng-high-memory -- build laji --configuration=beta --base-href https://beta.laji.fi",
"build:dev:embedded": "npm run ng-high-memory -- build laji --configuration=dev-embedded --base-href https://dev-embedded.laji.fi",
"build:exhibition-screen:prod": "npm run ng-high-memory -- build exhibition-screen --configuration=production",
"build:bird-atlas:dev": "npm run ng-high-memory -- build bird-atlas --configuration=development",
"build:bird-atlas:prod": "npm run ng-high-memory -- build bird-atlas --configuration=production",
"build:label-designer-electron": "rm -rf dist && ng build laji --base-href ./ label-designer-electron && tsc --p projects/label-designer-electron/electron && cp projects/label-designer-electron/package.json dist/",
"build:laji-ui": "ng build laji-ui",
"build:kerttu-global": "npm run ng-high-memory -- build kerttu-global --configuration production",
"build:kerttu-global-dev": "npm run ng-high-memory -- build kerttu-global --configuration=dev",
"build:label-designer-element": "ng build --configuration production --output-hashing=none label-designer-element",
"build:ssr:prod": "npm run build:prod && ng run laji:server:production",
"build:ssr:beta": "npm run build:beta && ng run laji:server:beta",
"build:ssr:dev": "npm run build:dev && ng run laji:server:dev",
"build:ssr:local": "npm run build:local && ng run laji:server:local",
"build:ssr:local-beta": "npm run build:local-beta && ng run laji:server:beta",
"build:ssr:local-prod": "npm run build:local-prod && ng run laji:server:beta",
"bundle-report": "npm run ng-high-memory -- build laji --configuration production --aot --stats-json --named-chunks=true && webpack-bundle-analyzer dist/browser/stats.json",
"lint": "cross-env NODE_OPTIONS=--max_old_space_size=4096 eslint \"projects/laji/src/**/*.ts\"",
"lint:kerttu-global": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/kerttu-global/src/**/*.ts\"",
"lint:bird-atlas": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/bird-atlas/src/**/*.ts\"",
"lint:exhibition-screen": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/exhibition-screen/src/**/*.ts\"",
"lint:laji-ui": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/laji-ui/src/**/*.ts\"",
"lint:vir": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/vir/src/**/*.ts\"",
"lint:iucn": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/iucn/src/**/*.ts\"",
"lint:label-designer": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/label-designer/src/**/*.ts\"",
"lint:label-designer-electron": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/label-designer-electron/src/**/*.ts\"",
"lint:label-designer-element": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/label-designer-element/src/**/*.ts\"",
"lint:all": "cross-env NODE_OPTIONS=--max-old-space-size=4096 eslint \"projects/{laji,bird-atlas,exhibition-screen,laji-ui,vir,iucn,kerttu-global,label-designer,label-designer-electron,label-designer-element}/src/**/*.ts\"",
"test": "playwright test",
"test:docker": "npm run test:docker:build && npm run test:docker:run --",
"test:docker:build": "docker build -t laji-test -f test.Dockerfile .",
"test:docker:run": "docker run -v test-results:/app/test-results laji-test:latest",
"postinstall": "patch-package && node ./scripts/remove-extras.js",
"package:label-designer": "npm run build:label-designer-electron && npm run prepare:package:label-designer",
"package:label-designer-element": "npm run build:label-designer-element && cat ./dist/label-designer-element/runtime.js ./dist/label-designer-element/polyfills.js ./dist/label-designer-element/scripts.js ./dist/label-designer-element/main.js > ./dist/label-designer.js",
"package:label-designer-linux": "electron-packager ./dist \"Label Designer\" --out=release-builds --platform=linux --arch=x64 --asar --executableName=LabelDesigner --overwrite --prune",
"package:label-designer-mac": "electron-packager ./dist \"Label Designer\" --out=release-builds --platform=darwin --arch=x64 --asar --executableName=LabelDesigner --overwrite --prune --appBundleId=fi.laji.labelDesigner --app-category-type=public.app-category.graphics-design",
"package:label-designer-win": "electron-packager ./dist \"Label Designer\" --out=release-builds --platform=win32 --arch=ia32 --asar --executableName=LabelDesigner --overwrite --prune",
"msg-a": "node ./scripts/echo.js \"\nLint check!\n**Please note that warnings can be ignored, only errors will prevent the commit!**\n\n\"",
"dev:ssr": "ng run laji:serve-ssr",
"serve:ssr": "node dist/server/main.js",
"build:ssr": "ng build && ng run laji:server",
"prerender": "ng run laji:prerender",
"docker:npm-run": "npm run docker:npm-run:build && npm run docker:npm-run:run --",
"docker:npm-run:build": "docker build -t laji-npm-run -f npm-run.Dockerfile .",
"docker:npm-run:run": "docker run laji-npm-run:latest"
},
"contributors": [
"Olli Raitio <olli.raitio@helsinki.fi>",
"Ville-Matti Riihikoski <ville-matti.riihikoski@helsinki.fi>",
"Kalle Myllymaa <kalle.myllymaa@helsinki.fi>",
"Pyry Mäkinen <pyry.makinen@helsinki.fi>",
"Meeri Rannisto <meeri.rannisto@helsinki.fi>",
"Markus Lumme <markus.lumme@helsinki.fi>",
"Robert Pulkka <robert.pulkka@helsinki.fi>"
],
"license": "MIT",
"angular-cli": {},
"private": false,
"dependencies": {
"@achimha/ngx-datatable": "^21.0.1",
"@ali-hm/angular-tree-component": "^12.0.5",
"@angular/animations": "^16.2.5",
"@angular/cdk": "^16.2.4",
"@angular/common": "^16.2.5",
"@angular/compiler": "^16.2.5",
"@angular/core": "^16.2.5",
"@angular/elements": "^16.2.5",
"@angular/forms": "^16.2.5",
"@angular/platform-browser": "^16.2.5",
"@angular/platform-browser-dynamic": "^16.2.5",
"@angular/platform-server": "^16.2.5",
"@angular/router": "^16.2.5",
"@apollo/client": "^3.6.9",
"@luomus/label-designer": "^4.0.16",
"@luomus/laji-form": "^15.1.30",
"@luomus/laji-form-builder": "^1.1.3",
"@luomus/laji-map": "^5.1.2",
"@ng-select/ng-select": "^11.1.1",
"@nguniversal/common": "^16.2.0",
"@nguniversal/express-engine": "^16.2.0",
"@ngx-translate/core": "^15.0.0",
"@servoy/jw-bootstrap-switch-ng2": "^16.0.0",
"@types/deep-diff": "^1.0.1",
"angularx-qrcode": "^16.0.2",
"apollo-angular": "^5.0.1",
"chart.js": "^4.4.0",
"chartjs-chart-treemap": "^2.3.0",
"core-js": "^3.24.1",
"cors": "~2.8.5",
"d3-axis": "^1.0.12",
"d3-brush": "^1.1.6",
"d3-drag": "^1.2.5",
"d3-format": "^1.4.4",
"d3-scale": "^2.1.2",
"d3-selection": "^1.4.1",
"d3-shape": "^1.3.7",
"deep-diff": "^1.0.2",
"deep-equal": "^2.0.5",
"deepmerge": "^4.2.2",
"document-register-element": "^1.14.10",
"domino": "^2.1.6",
"express": "^4.15.2",
"file-saver": "^2.0.5",
"graphql": "^15.8.0",
"hammerjs": "^2.0.8",
"ie-shim": "^0.1.0",
"intl": "^1.2.5",
"jsonpath-plus": "^6.0.1",
"leaflet.sync": "^0.2.4",
"localforage": "^1.10.0",
"moment": "^2.29.4",
"ng2-charts": "^5.0.3",
"ngx-clipboard": "^16.0.0",
"ngx-moment": "^6.0.2",
"ngx-quicklink": "^0.4.2",
"ngx-toastr": "^17.0.2",
"ngx-webstorage": "12.0.0",
"object-hash": "^2.2.0",
"openseadragon": "^2.4.2",
"react-bootstrap": "^0.33.1",
"rxjs": "^6.6.7",
"rxjs-compat": "^6.6.7",
"ts-loader": "8.0.7",
"vm": "^0.1.0",
"xlsx": "^0.17.5",
"zone.js": "^0.13.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.2",
"@angular-eslint/builder": "16.2.0",
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular-eslint/eslint-plugin-template": "16.2.0",
"@angular-eslint/schematics": "16.2.0",
"@angular-eslint/template-parser": "16.2.0",
"@angular/cli": "^16.2.2",
"@angular/compiler-cli": "^16.2.5",
"@angular/language-service": "^16.2.5",
"@nguniversal/builders": "^16.2.0",
"@playwright/test": "^1.44.1",
"@types/d3-axis": "^1.0.16",
"@types/d3-brush": "^1.1.5",
"@types/d3-drag": "^1.2.3",
"@types/d3-format": "^1.4.2",
"@types/d3-scale": "^2.2.6",
"@types/d3-selection": "^1.3.4",
"@types/d3-shape": "^1.3.8",
"@types/d3-transition": "^2.0.2",
"@types/express": "^4.17.0",
"@types/express-serve-static-core": "^4.17.30",
"@types/file-saver": "^2.0.5",
"@types/geojson": "7946.0.7",
"@types/hammerjs": "^2.0.46",
"@types/leaflet": "^1.7.11",
"@types/leaflet-draw": "^1.0.5",
"@types/leaflet.markercluster": "^1.5.1",
"@types/node": "^14.18.26",
"@types/object-hash": "^1.3.4",
"@types/openseadragon": "^2.4.8",
"@types/redis": "^2.8.32",
"@types/redlock": "^4.0.3",
"@types/underscore": "1.10.24",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"codelyzer": "^6.0.2",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"dotenv": "^16.3.1",
"eslint": "^8.39.0",
"eslint-plugin-import": "2.25.2",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-rxjs": "^5.0.2",
"globby": "^11.1.0",
"jszip": "^3.10.1",
"ng-packagr": "^16.2.3",
"ngx-bootstrap": "^6.2.0",
"patch-package": "^6.4.7",
"postinstall-prepare": "^1.0.1",
"redis": "^3.1.2",
"redlock": "^4.2.0",
"regexp-replace-loader": "^1.0.1",
"rimraf": "3.0.2",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "~4.9.5",
"webpack-bundle-analyzer": "^4.6.1"
},
"overrides": {
"react": "17.0.2",
"react-dom": "17.0.2"
},
"keywords": [
"laji.fi"
],
"repository": {
"type": "git",
"url": "git+https://bitbucket.org:luomus/laji.fi-front.git"
},
"homepage": "https://bitbucket.org/luomus/laji.fi-front",
"volta": {
"node": "16.20.2"
}
}