/
package.json
172 lines (172 loc) · 10.5 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
{
"name": "super-firebase-angular",
"version": "0.0.5",
"license": "MIT",
"description": "All-In-One firebase and angular project.",
"homepage": "https://github.com/supermurat/super-firebase-angular",
"author": "Murat Demir (hisupermurat@gmail.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/supermurat/super-firebase-angular.git"
},
"bugs": {
"url": "https://github.com/supermurat/super-firebase-angular/issues"
},
"keywords": [],
"scripts": {
"ng": "ng",
"start": "ng serve",
"start:en": "ng serve --configuration=en",
"start:tr": "ng serve --configuration=tr",
"build": "ng build",
"build:i18n": "ng run super-firebase-angular:build:en && ng run super-firebase-angular:build:tr",
"build:beta:i18n": "ng run super-firebase-angular:build:beta-en && ng run super-firebase-angular:build:beta-tr",
"build:production:i18n": "ng run super-firebase-angular:build:production-en && ng run super-firebase-angular:build:production-tr",
"server": "ng run super-firebase-angular:server",
"server:i18n": "ng run super-firebase-angular:server:en && ng run super-firebase-angular:server:tr",
"server:beta:i18n": "ng run super-firebase-angular:server:beta-en && ng run super-firebase-angular:server:beta-tr",
"server:production:i18n": "ng run super-firebase-angular:server:production-en && ng run super-firebase-angular:server:production-tr",
"deploy:prepare:beta": "npm run build:beta:i18n && npm run server:beta:i18n && npm run copyToPublic && npm run test:cover && npm run copyCoverageToPublic && npm run compodoc && npm run copyDocumentationToPublic && npm run deploy:prepare:functions",
"deploy:prepare:prod": "npm run build:production:i18n && npm run server:production:i18n && npm run copyToPublic && npm run test:cover && npm run copyCoverageToPublic && npm run compodoc && npm run copyDocumentationToPublic && npm run deploy:prepare:functions",
"deploy:prepare:functions": "npm run build:functions && npm run test:cover:functions && npm run copyFunctionsCoverageToPublic && npm --prefix \"./functions\" run typedoc && npm run copyFunctionsDocumentationToPublic && npm run test:combine:all",
"deploy:beta": "npm run deploy:prepare:beta && firebase deploy --project super-murat-beta",
"deploy:prod": "npm run deploy:prepare:prod && firebase deploy --project supermurat-com",
"test": "ng test",
"test:cover": "del-cli \"./coverage\" && ng test --watch=false --code-coverage",
"test:cover:open": "npm run test:cover && open-cli \"./coverage/index.html\"",
"/* Run twice to fix '%0 covered' issue */": "",
"test:cover:functions": "npm --prefix \"./functions\" run test:cover && npm --prefix \"./functions\" run test:cover",
"test:cover:all": "npm run test:cover && npm run build:i18n && npm run server:i18n && npm run test:cover:functions && npm run test:combine:all",
"test:combine:all": "del-cli \"./public/all-coverage\" && istanbul-combine -d \"./public/all-coverage\" -p summary -b \"./\" -r lcov -r html \"./coverage/coverage-final.json\" \"./functions/coverage/coverage-final.json\"",
"lint:all": "npm run lint && npm run lint:functions",
"lint": "ng lint && npm run stylelint && npm run lint:html && npm run lint:md",
"lint:functions": "npm --prefix \"./functions\" run lint",
"lint:md": "remark .",
"lint:html": "htmlhint \"src\" --config .htmlhintrc",
"stylelint": "stylelint \"src/**/*.scss\" --syntax scss",
"e2e": "ng e2e",
"e2e:browserstack": "ng e2e --configuration=browserstack",
"e2e:browserstack:prod": "protractor e2e/protractor.browserstack.prod.conf.js",
"e2e:browserstack:beta": "protractor e2e/protractor.browserstack.beta.conf.js",
"build:functions": "npm --prefix \"./functions\" run build",
"serve": "del-cli \"./functions/dist/*\" && npm run build && npm run server && npm run copyToPublic && npm run serve:only:firebase:beta",
"serve:i18n": "del-cli \"./functions/dist/*\" && npm run build:i18n && npm run server:i18n && npm run copyToPublic && npm run serve:only:firebase:beta",
"serve:beta:i18n": "del-cli \"./functions/dist/*\" && npm run build:beta:i18n && npm run server:beta:i18n && npm run copyToPublic && npm run serve:only:firebase:beta",
"serve:production:i18n": "del-cli \"./functions/dist/*\" && npm run build:production:i18n && npm run server:production:i18n && npm run copyToPublic && npm run serve:only:firebase:prod",
"serve:only:firebase:beta": "npm run build:functions && firebase serve --project super-murat-beta",
"serve:only:firebase:prod": "npm run build:functions && firebase serve --project supermurat-com",
"copyToPublic": "del-cli \"./public/*\" && ncp \"./functions/dist/browser\" \"./public\" && npm run deleteIndexFromPublic",
"copyCoverageToPublic": "ncp \"./coverage\" \"./public/coverage\"",
"copyDocumentationToPublic": "ncp \"./documentation\" \"./public/documentation\"",
"copyFunctionsCoverageToPublic": "ncp \"./functions/coverage\" \"./public/functions-coverage\"",
"copyFunctionsDocumentationToPublic": "ncp \"./functions/documentation\" \"./public/functions-documentation\"",
"deleteIndexFromPublic": "del-cli \"./public/index.html\" && del-cli \"./public/en/index.html\" && del-cli \"./public/tr/index.html\"",
"extract:i18n": "ng xi18n --output-path locale && xliffmerge --profile xliffmerge.json",
"stats": "ng build --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/stats-es2015.json\" --host 127.0.0.1 --port 8042",
"stats:i18n:en": "ng run super-firebase-angular:build:en --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/en/stats-es2015.json\" --host 127.0.0.1 --port 8043",
"stats:i18n:tr": "ng run super-firebase-angular:build:tr --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/tr/stats-es2015.json\" --host 127.0.0.1 --port 8044",
"stats:beta:i18n:en": "ng run super-firebase-angular:build:beta-en --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/en/stats-es2015.json\" --host 127.0.0.1 --port 8045",
"stats:beta:i18n:tr": "ng run super-firebase-angular:build:beta-tr --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/tr/stats-es2015.json\" --host 127.0.0.1 --port 8046",
"stats:production:i18n:en": "ng run super-firebase-angular:build:production-en --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/en/stats-es2015.json\" --host 127.0.0.1 --port 8047",
"stats:production:i18n:tr": "ng run super-firebase-angular:build:production-tr --stats-json && webpack-bundle-analyzer \"./functions/dist/browser/tr/stats-es2015.json\" --host 127.0.0.1 --port 8048",
"install:dependencies:global": "npm install -g firebase-tools@7.12.1 @angular/cli@8.3.23 selenium-webdriver @compodoc/compodoc ncp del-cli open-cli webpack-bundle-analyzer @commitlint/cli",
"install:dependencies:travis": "npm install -g firebase-tools@7.12.1 @angular/cli@8.3.23 selenium-webdriver @compodoc/compodoc ncp del-cli @commitlint/travis-cli",
"install:dependencies": "npm install && cd functions && npm install",
"browserslist": "npx browserslist --config=\"./src/browserslist\"",
"compodoc": "del-cli \"./documentation\" && compodoc -n \"super-firebase-angular documentation\" -p src/tsconfig.app.json --unitTestCoverage ./coverage/coverage-summary.json",
"compodoc:open": "npm run compodoc && open-cli \"./documentation/index.html\"",
"compodoc:cover": "compodoc -p src/tsconfig.app.json --coverageTest 70",
"commit": "commit-wizard",
"clean": "del-cli \"./public\" && del-cli \"./coverage\" && del-cli \"./documentation\" && del-cli \"./functions/coverage\" && del-cli \"./functions/lib\" && del-cli \"./functions/dist\" && del-cli \"./functions/documentation\""
},
"private": true,
"dependencies": {
"@angular/animations": "8.2.14",
"@angular/common": "8.2.14",
"@angular/compiler": "8.2.14",
"@angular/core": "8.2.14",
"@angular/fire": "5.3.0",
"@angular/forms": "8.2.14",
"@angular/platform-browser": "8.2.14",
"@angular/platform-browser-dynamic": "8.2.14",
"@angular/platform-server": "8.2.14",
"@angular/pwa": "0.803.23",
"@angular/router": "8.2.14",
"@angular/service-worker": "8.2.14",
"@fortawesome/fontawesome-free": "5.12.0",
"@ng-bootstrap/ng-bootstrap": "5.1.5",
"@ngx-loading-bar/core": "4.2.0",
"@ngx-loading-bar/router": "4.2.0",
"angular2-cookie-law": "^7.0.1",
"angulartics2": "8.3.0",
"bootstrap": "4.4.1",
"classlist.js": "1.1.20150312",
"core-js": "3.6.4",
"firebase": "7.7.0",
"grpc": "1.24.2",
"protractor": "5.4.2",
"rxjs": "6.5.4",
"tslib": "1.10.0",
"zone.js": "0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.803.23",
"@angular/cli": "8.3.23",
"@angular/compiler-cli": "8.2.14",
"@angular/language-service": "8.2.14",
"@commitlint/cli": "~8.3.5",
"@commitlint/config-conventional": "~8.3.4",
"@types/jasmine": "~3.5.1",
"@types/jasminewd2": "~2.0.8",
"@types/node": "~13.1.8",
"acorn": "^7.1.0",
"angular-tslint-rules": "~1.20.3",
"browserslist": "~4.8.3",
"browserstack-local": "~1.4.4",
"codacy-coverage": "~3.4.0",
"codelyzer": "~5.2.1",
"coveralls": "~3.0.9",
"husky": "~4.0.10",
"htmlhint": "~0.11.0",
"istanbul-combine": "https://github.com/glennvgastel/istanbul-combine/archive/master.tar.gz",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"jquery": "~3.4.1",
"karma": "~4.4.1",
"karma-chrome-launcher": "~3.1.0",
"karma-cli": "~2.0.0",
"karma-coverage-istanbul-reporter": "~2.1.1",
"karma-jasmine": "~3.1.0",
"karma-jasmine-html-reporter": "~1.5.1",
"karma-mocha-reporter": "~2.2.5",
"karma-scss-preprocessor": "4.0.0",
"ngx-i18nsupport": "~0.17.1",
"node-sass": "~4.13.1",
"popper.js": "~1.16.0",
"remark-cli": "~7.0.1",
"remark-lint": "~6.0.5",
"remark-preset-lint-markdown-style-guide": "~2.1.3",
"remark-preset-lint-recommended": "^3.0.3",
"stylelint": "~13.0.0",
"stylelint-config-recommended-scss": "~4.1.0",
"stylelint-config-standard": "~19.0.0",
"stylelint-scss": "~3.13.0",
"terser": "4.6.3",
"ts-node": "~8.6.2",
"tslint": "5.20.1",
"typescript": "3.5.3",
"webpack": "~4.41.5",
"webpack-bundle-analyzer": "~3.6.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "echo 'Pre-commit: running lint...' && npm run lint:all"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}