-
Notifications
You must be signed in to change notification settings - Fork 136
/
package.json
134 lines (134 loc) · 6.71 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
{
"name": "lemon-mart",
"version": "17.0.0",
"license": "MIT",
"config": {
"imageRepo": "073020584345.dkr.ecr.us-east-1.amazonaws.com/lemon-mart",
"imageName": "lemon-mart",
"imagePort": "8080",
"internalContainerPort": "80",
"awsRegion": "us-east-1",
"awsEcsCluster": "lemon-mart-cluster",
"awsService": "lemon-mart-service"
},
"scripts": {
"ng": "ng",
"style:fix": "prettier --write \"**/{src,tests,e2e}/**/*.{*css,ts,html}\"",
"style": "prettier --check \"**/{src,tests,e2e}/**/*.{*css,ts,html}\"",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test lemon-mart --browsers Chrome",
"test:debug": "npm test -- --browsers Chrome --source-map",
"lint": "ng lint",
"lint:fix": "ng lint --fix",
"e2e": "ng e2e --browser electron",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"build:prod": "ng build --configuration production",
"build:all": "run-p -cs \"build:prod\" \"build:prod --project stage8\" \"build:prod --project stage10\" \"build:prod --project stage11\" \"build:prod --project stage12\"",
"build:integration": "cross-conf-env docker image build -f integration.Dockerfile --platform linux/amd64,linux/arm64 . -t $npm_package_config_imageRepo:latest",
"test:prod": "npm test -- --browsers ChromiumNoSandbox --watch=false",
"test:ci": "ng test --browsers=ChromeHeadless --watch=false --no-progress --code-coverage",
"test:all": "run-p -cs \"test:ci --project lemon-mart\" \"test:ci --project stage8\" \"test:ci --project stage10\" \"test:ci --project stage11\" \"test:ci --project stage12\"",
"test:prod:e2e": "npm run e2e",
"test:coverage": "npm test -- --browsers ChromiumNoSandbox --watch=false --code-coverage",
"posttest:coverage": "http-server -c-1 -o -p 9875 ./coverage",
"predocker:build": "npm run build",
"docker:build": "cross-conf-env docker image build --platform linux/amd64,linux/arm64 . -t $npm_package_config_imageRepo:$npm_package_version",
"postdocker:build": "npm run docker:tag",
"docker:tag": " cross-conf-env docker image tag $npm_package_config_imageRepo:$npm_package_version $npm_package_config_imageRepo:latest",
"docker:run": "run-s -c docker:stop docker:runHelper",
"docker:runHelper": "cross-conf-env docker run -e NODE_ENV=local --rm --name $npm_package_config_imageName -d -p $npm_package_config_imagePort:$npm_package_config_internalContainerPort $npm_package_config_imageRepo",
"predocker:publish": "echo Attention! Ensure `docker login` information is correct.",
"docker:publish": "cross-conf-env docker image push $npm_package_config_imageRepo:$npm_package_version",
"postdocker:publish": "cross-conf-env docker image push $npm_package_config_imageRepo:latest",
"docker:clean": "cross-conf-env docker rm -f $npm_package_config_imageName",
"docker:taillogs": "echo Web Server Logs: && cross-conf-env docker logs -f $npm_package_config_imageName",
"docker:debugmessage": "echo Docker Debug Completed Successfully! Hit Ctrl+C to terminate log tailing.",
"docker:debug": "run-s -cs docker:build docker:run docker:open docker:debugmessage docker:taillogs",
"aws:login:win": "cross-conf-env aws ecr get-login --no-include-email --region $npm_package_config_awsRegion > dockerLogin.cmd && call dockerLogin.cmd && del dockerLogin.cmd",
"aws:login:mac": "eval $(aws ecr get-login --no-include-email --region $npm_package_config_awsRegion)",
"aws:login": "run-p -cs aws:login:win aws:login:mac",
"aws:deploy": "cross-conf-env docker run --env-file ./.env silintl/ecs-deploy -c $npm_package_config_awsEcsCluster -n $npm_package_config_awsService -i $npm_package_config_imageRepo:latest -r $npm_package_config_awsRegion --timeout 1000",
"aws:release": "run-s -cs aws:login docker:publish aws:deploy",
"init:env": "init-dev-env generate-dot-env example.env -f",
"lint:ts": "tslint --config tslint.json --project . -e \"**/{test,polyfills}.ts\" -e \"./cypress.config.ts\" -e \"**/cypress/**/**.ts\"",
"lint:ts:fix": "tslint --config tslint.json --fix --project . -e \"**/{test,polyfills}.ts\"",
"lint:tsc": "tsc --noEmit --skipLibCheck",
"docker:stop": "cross-conf-env docker stop $npm_package_config_imageName || true",
"docker:open": "sleep 2 && cross-conf-env open-cli http://localhost:$npm_package_config_imagePort"
},
"private": true,
"dependencies": {
"@angular/animations": "17.1.0",
"@angular/cdk": "17.1.0",
"@angular/common": "17.1.0",
"@angular/compiler": "17.1.0",
"@angular/core": "17.1.0",
"@angular/fire": "^17.0.1",
"@angular/forms": "17.1.0",
"@angular/material": "17.1.0",
"@angular/platform-browser": "17.1.0",
"@angular/platform-browser-dynamic": "17.1.0",
"@angular/router": "17.1.0",
"@apollo/client": "^3.8.8",
"@ngrx/data": "^17.1.0",
"@ngrx/effects": "^17.1.0",
"@ngrx/entity": "^17.1.0",
"@ngrx/signals": "^17.1.0",
"@ngrx/store": "^17.1.0",
"@ngrx/store-devtools": "^17.1.0",
"apollo-angular": "^6.0.0",
"graphql": "^16.8.1",
"jwt-decode": "^4.0.0",
"ngx-mask": "^17.0.4",
"rxjs": "^7.8.1",
"ts-enum-util": "^4.0.2",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.1.0",
"@angular-eslint/builder": "17.2.0",
"@angular-eslint/eslint-plugin": "17.2.0",
"@angular-eslint/eslint-plugin-template": "17.2.0",
"@angular-eslint/schematics": "17.2.0",
"@angular-eslint/template-parser": "17.2.0",
"@angular/cli": "^17.1.0",
"@angular/compiler-cli": "17.1.0",
"@angular/language-service": "17.1.0",
"@cypress/schematic": "^2.5.1",
"@ngbracket/ngx-layout": "^17.0.0",
"@types/jasmine": "~5.1.4",
"@types/jsonwebtoken": "^9.0.5",
"@types/jwt-decode": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"angular-unit-test-helper": "^17.1.0",
"cross-conf-env": "^1.3.0",
"cypress": "^13.6.2",
"dev-norms": "^2.0.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"fake-jwt-sign": "^1.1.1",
"http-server": "^14.1.1",
"init-dev-env": "^2.0.0",
"jasmine-core": "^5.1.1",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "^2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-junit-reporter": "^2.0.1",
"ng-mocks": "^14.12.1",
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
}
}