-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 5.28 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
{
"name": "local-weather-app",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"init:env": "init-dev-env generate-dot-env process.env -f",
"config": "ts-node ./scripts/setenv.ts",
"start": "npm run config -- --environment=dev && ng serve -c=dev --port 5000",
"build": "ng build",
"build:prod": "ng build --prod",
"build:ci": "ng build --prod --sourceMap=false --base-href /local-weather-app/",
"build:docker": "npm run config -- --environment=prod && ng build --prod",
"build:gcloud": "npm run config -- --environment=prod && ng build --prod",
"test:ci": "ng test --watch=false --code-coverage --source-map true",
"test": "ng test",
"lint": "run-p lint:ts lint:tsc",
"e2e": "ng e2e",
"style": "import-sort -l \"**/{src,tests,e2e}/**/*.ts\" && prettier --check \"**/{src,tests,e2e}/**/*.{*css,ts}\"",
"style:fix": "import-sort --write \"**/{src,tests,e2e}/**/*.ts\" && prettier --write \"**/{src,tests,e2e}/**/*.{*css,ts}\" && js-beautify \"**/src/**/*.html\"",
"lint:fix": "run-s lint:ts:fix lint:tsc",
"lint:ts": "tslint --config tslint.json --project . -e \"**/{test,polyfills}.ts\"",
"lint:ts:fix": "tslint --config tslint.json --fix --project . -e \"**/{test,polyfills}.ts\"",
"lint:tsc": "tsc --noEmit --skipLibCheck",
"predocker:build": "npm run build:docker",
"docker:build": "cross-conf-env docker image build . -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:stop": "cross-conf-env docker stop $npm_package_config_imageName || true",
"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:taillogs": "echo Web Server Logs: && cross-conf-env docker logs -f $npm_package_config_imageName",
"docker:open": "sleep 2 && cross-conf-env open-cli http://localhost:$npm_package_config_imagePort",
"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",
"gcloud:tag": "docker tag jpcassidy/local-weather gcr.io/local-weather-app-ce379/local-weather-app",
"gcloud:push": "docker push gcr.io/local-weather-app-ce379/local-weather-app",
"gcloud:build": "gcloud builds submit --tag gcr.io/local-weather-app-ce379/local-weather-app --project local-weather-app-ce379",
"gcloud:deploy": "gcloud run deploy --image gcr.io/local-weather-app-ce379/local-weather-app --platform managed --project local-weather-app-ce379 --region us-east1"
},
"private": true,
"dependencies": {
"@angular/animations": "~10.2.1",
"@angular/cdk": "^10.2.6",
"@angular/common": "~10.2.1",
"@angular/compiler": "~10.2.1",
"@angular/core": "~10.2.1",
"@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "~10.2.1",
"@angular/material": "^10.2.6",
"@angular/platform-browser": "~10.2.1",
"@angular/platform-browser-dynamic": "~10.2.1",
"@angular/router": "~10.2.1",
"@ngrx/effects": "^10.1.1",
"@ngrx/store": "^10.1.1",
"rxjs": "~6.6.3",
"subsink": "^1.0.1",
"tslib": "^2.0.3",
"zone.js": "~0.11.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.0",
"@angular/cli": "~10.2.0",
"@angular/compiler-cli": "~10.2.1",
"@ngrx/schematics": "^10.1.1",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.8",
"@types/node": "^14.14.6",
"angular-unit-test-helper": "^9.4.0",
"codelyzer": "^6.0.1",
"cross-conf-env": "^1.2.1",
"dev-norms": "1.7.1",
"dotenv": "^8.2.0",
"import-sort": "^6.0.0",
"import-sort-cli": "^6.0.0",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"init-dev-env": "^1.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"js-beautify": "^1.13.0",
"karma": "~5.2.3",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"rimraf": "^3.0.2",
"ts-node": "~9.0.0",
"tslint": "~6.1.0",
"tslint-config-prettier": "^1.18.0",
"tslint-etc": "^1.13.7",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "~4.0.5",
"yargs": "^16.1.0"
},
"importSort": {
".ts, .tsx": {
"parser": "typescript",
"style": "module",
"options": {}
}
},
"config": {
"imageRepo": "jpcassidy/local-weather",
"imageName": "local-weather-app",
"imagePort": "8080",
"internalContainerPort": "3000"
}
}