forked from rickvandermey/angular-starterkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 6 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
{
"name": "angular-starterkit",
"version": "2.1.0",
"homepage": "/",
"author": "Rick van der Meij",
"private": false,
"license": "ISC",
"scripts": {
"start": "ng serve --extra-webpack-config webpack.partial.js",
"start:clean": "npm run clean:install && npm run start",
"start:mock": "ng serve --extra-webpack-config webpack.partial.js --configuration=mock",
"start:prerender": "npm run prerender:build && cd dist/browser && http-server -S -C ../../build/server.crt -K ../../build/server.key -g -P \"404\" -c 12960000",
"start:ssr": "npm run ssr:build && npm run ssr:serve",
"certificate:generate:mac": "cd ci && bash generateCertificateOSX.sh",
"clean": "rimraf node_modules reports dist coverage documentation",
"clean:install": "npm run clean && npm i",
"compress": "gzip-all \"dist/browser/**/*.{css,js,html}\" && bread-compressor -s -a brotli dist/browser/**/*.{css,js,html}",
"doc": "compodoc --coverageTestThresholdFail=false",
"doc:full": "npm run test:unit-headless && npm run test:e2e && npm run wpo:stats-es2015 && npm run wpo:lighthouse && npm run doc:reports && npm run doc -- --includes compodoc-additional-doc",
"doc:reports": "npx mkdirp documentation/additional-documentation && npx ncp reports documentation/additional-documentation",
"build": "ng build --prod --stats-json --extra-webpack-config webpack.partial.js",
"build:client-and-server-bundles:ssr": "npm run build:gzip && ng run $npm_package_name:server:ssr --bundleDependencies true",
"build:gzip": "npm run build && gzip-all \"dist/browser/*.{css,js,html}\"",
"format": "prettier --config .prettierrc --ignore-path .prettierignore \"**/*.{ts,json,md,scss,js}\"",
"format:check": "npm run format -- --check",
"format:watch": "onchange '**/*.{ts,json,md,scss,js}' -- prettier --config .prettierrc --ignore-path .prettierignore --write {{changed}}",
"format:write": "npm run format -- --write",
"lint": "ng lint && npm run stylelint",
"postinstall": "ngcc",
"prerender:build": "npm run start:ssr prerender",
"server:mock": "docker-compose up",
"ssr:build": "npm run build:client-and-server-bundles:ssr",
"ssr:serve": "node dist/server/main.js",
"stylelint": "stylelint \"src/{scss,app}/**/*.scss\" --config .stylelintrc --fix",
"test": "rimraf \"coverage\" & ng test --code-coverage --browsers Chrome",
"test:e2e": "npm run server:mock & webdriver-manager update --standalone=false --gecko=false && ng e2e --webdriver-update=false && docker-compose down",
"test:unit-headless": "npm run test -- --browsers ChromeNoSandbox --watch=false",
"wpo:lighthouse": "node ./ci/fetchLighthouse.js",
"wpo:stats-es5": "webpack-bundle-analyzer dist/browser/stats-es5.json --mode=static --report=\"reports/wpo/bundle-report-es5.html\" --no-open && npx cpx dist/browser/stats-es5.json reports/wpo",
"wpo:stats-es2015": "webpack-bundle-analyzer dist/browser/stats-es2015.json --mode=static --report=\"reports/wpo/bundle-report-es2015.html\" --no-open && npx cpx dist/browser/stats-es2015.json reports/wpo"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && npm run lint",
"pre-push": "npm run test:unit-headless"
}
},
"dependencies": {
"@angular/animations": "9.1.0",
"@angular/common": "9.1.0",
"@angular/compiler": "9.1.0",
"@angular/core": "9.1.0",
"@angular/forms": "9.1.0",
"@angular/platform-browser": "9.1.0",
"@angular/platform-browser-dynamic": "9.1.0",
"@angular/platform-server": "9.1.0",
"@angular/router": "9.1.0",
"@angular/service-worker": "9.1.0",
"@ngrx/effects": "9.0.0",
"@ngrx/router-store": "9.0.0",
"@ngrx/store": "9.0.0",
"@ngrx/store-devtools": "9.0.0",
"@nguniversal/express-engine": "9.0.2",
"@nguniversal/module-map-ngfactory-loader": "9.0.0-next.9",
"@ngx-translate/core": "12.1.2",
"@ngx-translate/http-loader": "4.0.0",
"classlist.js": "1.1.20150312",
"core-js": "3.6.5",
"express": "4.17.1",
"lodash.merge": "4.6.2",
"lodash.pick": "4.4.0",
"preboot": "7.0.0",
"rxjs": "6.6.0",
"tslib": "2.0.0",
"zone.js": "0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.901.0",
"@angular-devkit/schematics": "9.1.0",
"@angular/cli": "9.1.0",
"@angular/compiler-cli": "9.1.0",
"@angular/language-service": "9.1.0",
"@compodoc/compodoc": "1.1.11",
"@ng-apimock/protractor-plugin": "1.1.0",
"@types/chai": "4.2.11",
"@types/compression": "1.7.0",
"@types/cucumber": "6.0.1",
"@types/express": "4.17.7",
"@types/jasmine": "3.5.11",
"@types/jasminewd2": "2.0.8",
"@types/lodash.merge": "4.6.6",
"@types/lodash.pick": "4.4.6",
"@types/node": "14.0.24",
"@types/puppeteer": "3.0.1",
"@types/request": "2.48.5",
"bread-compressor-cli": "1.1.0",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"codelyzer": "6.0.0",
"compression": "1.7.4",
"cpx": "1.5.0",
"cucumber": "6.0.5",
"dayjs": "1.8.30",
"gzip-all": "1.0.0",
"html-critical-webpack-plugin": "2.1.0",
"http-server": "0.12.3",
"husky": "4.2.5",
"jasmine-marbles": "0.6.0",
"karma": "5.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "3.3.1",
"karma-jasmine-html-reporter": "1.5.4",
"karma-junit-reporter": "2.0.1",
"lighthouse": "6.1.1",
"multiple-cucumber-html-reporter": "1.18.0",
"ncp": "2.0.0",
"ngx-build-plus": "9.0.6",
"node-fetch": "2.6.0",
"onchange": "7.0.2",
"opn": "6.0.0",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"protractor": "5.4.3",
"protractor-cucumber-framework": "6.2.1",
"protractor-multiple-cucumber-html-reporter-plugin": "1.8.1",
"puppeteer": "5.2.1",
"purgecss-webpack-plugin": "2.3.0",
"rimraf": "3.0.2",
"rxjs-tslint": "0.1.8",
"spdy": "4.0.2",
"stylelint": "13.6.1",
"stylelint-order": "4.1.0",
"stylelint-webpack-plugin": "2.1.0",
"timeshift-js": "1.1.1",
"ts-loader": "8.0.1",
"ts-node": "8.10.2",
"tslint": "6.1.2",
"tslint-immutable": "6.0.1",
"typescript": "3.8.3",
"webpack-bundle-analyzer": "3.8.0",
"webpack-cli": "3.3.12"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead",
"IE 11"
]
}