-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 5.36 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
{
"name": "energy-dashboard-web",
"version": "4.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve -c local",
"build": "ng build",
"watch": "ng build --watch --configuration local",
"test": "jest",
"e2e": "npx cypress run --config baseUrl='http://localhost:4200'",
"e2e:open": "npx cypress open --config baseUrl='http://localhost:4200'",
"e2e:open-dev": "npx cypress open --config baseUrl='https://dev.energiedashboard.ch'",
"e2e-dev": "npx cypress run --config baseUrl='https://dev.energiedashboard.ch' --spec 'cypress/e2e/dev/**/*'",
"cy:cache-warming": "npx cypress run --config baseUrl='https://energiedashboard.admin.ch' --spec 'cypress/e2e/cache_warming/**/*'",
"start:ssr": "ng run energy-dashboard-web:serve-ssr",
"serve:ssr": "node dist/energy-dashboard-web/server/main.js",
"build:ssr": "ng build && ng run energy-dashboard-web:server",
"prerender": "ng run energy-dashboard-web:prerender",
"dev:sls": "ng build -c development && ng run energy-dashboard-web:serverless:dev && yarn serve:sls",
"build:sls": "ng build -c aws-development && ng run energy-dashboard-web:serverless:dev",
"build-prod:sls": "ng build -c production && ng run energy-dashboard-web:serverless:prod",
"serve:sls": "serverless offline start --noPrependStageInUrl",
"deploy": "serverless deploy --stage dev",
"deploy-prod": "serverless deploy --stage prod",
"terminate": "serverless remove",
"prepare": "husky install",
"lint": "yarn lint:app --fix",
"lint:app": "eslint --ext .ts",
"prettier": "yarn prettier:base 'src/**/*.{ts,html,scss}'",
"prettier:base": "prettier --write --config .prettierrc.yml",
"prettier:staged": "yarn prettier:base",
"prepare-translation": "npx i18n-json-to-xlsx-converter --convert 'src/app/core/i18n/translations/de.json, src/app/core/i18n/translations/en.json, src/app/core/i18n/translations/fr.json, src/app/core/i18n/translations/it.json'",
"update-translation": "npx i18n-json-to-xlsx-converter --convert doc/translations.xlsx && npx flat doc/de.json && npx flat doc/fr.json && npx flat doc/it_orig.json && npx flat doc/en.json"
},
"private": true,
"dependencies": {
"@angular/animations": "^16.2.7",
"@angular/cdk": "^16.2.6",
"@angular/common": "16.2.7",
"@angular/compiler": "^16.2.7",
"@angular/core": "^16.2.7",
"@angular/forms": "^16.2.7",
"@angular/platform-browser": "^16.2.7",
"@angular/platform-browser-dynamic": "^16.2.7",
"@angular/platform-server": "^16.2.7",
"@angular/router": "^16.2.7",
"@fortawesome/angular-fontawesome": "^0.13.0",
"@fortawesome/fontawesome-common-types": "^6.4.2",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/pro-solid-svg-icons": "^6.4.2",
"@juggle/resize-observer": "^3.4.0",
"@nguniversal/common": "^16.2.0",
"@nguniversal/express-engine": "^16.2.0",
"@turf/turf": "^6.5.0",
"@vendia/serverless-express": "^4.10.4",
"angular-i18next": "^16.0.0",
"aws-lambda": "^1.0.7",
"d3": "^7.8.5",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"express": "^4.21.0",
"i18next": "22.5.1",
"i18next-browser-languagedetector": "^7.1.0",
"leaflet": "^1.9.4",
"ngx-resize": "^2.0.0",
"ngx-tippy-wrapper": "^6.2.2",
"rxjs": "^7.8.1",
"snippet-highlight": "^1.0.2",
"tslib": "^2.6.2",
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.4",
"@angular/cli": "~16.2.4",
"@angular/compiler-cli": "^16.2.7",
"@nguniversal/builders": "^16.2.0",
"@types/chance": "^1.1.4",
"@types/d3": "^7.4.1",
"@types/express": "^4.17.18",
"@types/jest": "^29.5.5",
"@types/leaflet": "^1.9.6",
"@types/node": "^20.7.1",
"@types/resize-observer-browser": "^0.1.8",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"chance": "^1.1.11",
"cypress": "^13.3.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-i18n-json": "^4.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-unicorn": "^48.0.1",
"flat": "^6.0.1",
"husky": "^8.0.3",
"i18n-json-to-xlsx-converter": "^2.0.0",
"jest": "^29.7.0",
"jest-preset-angular": "^13.1.2",
"prettier": "^3.0.3",
"serverless": "^3.35.2",
"serverless-apigw-binary": "^0.4.4",
"serverless-offline": "^13.1.1",
"serverless-plugin-aws-alerts": "^1.7.5",
"serverless-plugin-lambda-insights": "^2.0.0",
"typescript": "5.1.3"
},
"jest": {
"preset": "jest-preset-angular",
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.ts"
],
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/src/$1"
}
},
"packageManager": "yarn@3.4.1"
}