forked from NationalBankBelgium/stark
/
package.json
162 lines (162 loc) · 6.92 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
{
"name": "stark-starter",
"version": "0.0.1",
"private": true,
"description": "Stark - Starter",
"keywords": [
"angular",
"angular6",
"webpack",
"typescript",
"redux",
"ngrx",
"ui-router"
],
"author": "Stark Team <alexis.georges@nbb.be>",
"contributors": [],
"license": "MIT",
"bugs": "https://github.com/nationalbankbelgium/stark/issues",
"homepage": "https://github.com/nationalbankbelgium/stark",
"repository": {
"type": "git",
"url": "https://github.com/nationalbankbelgium/stark.git"
},
"engines": {
"node": ">=8.9.4",
"npm": ">=5.6.0"
},
"scripts": {
"build:aot:prod": "npm run clean:dist && npm run clean:aot && npm run ng -- build --prod",
"build:aot": "npm run build:aot:prod",
"build:aot:dev": "npm run build:dev -- --aot",
"build:dev": "npm run clean:dist && npm run ng -- build",
"build:dev:monitor": "npx mkdirp reports && cross-env MONITOR=1 npm run build:dev",
"build:dev:bundle-analyzer": "npx mkdirp reports && cross-env BUNDLE_ANALYZER=1 npm run build:dev",
"build:prod": "npm run clean:dist && npm run build:aot:prod",
"build:prod:bundle-analyzer": "npm run clean:dist && cross-env BUNDLE_ANALYZER=1 npm run build:aot:prod",
"build": "npm run build:dev",
"check-deps": "npx npm-check-u",
"ci:aot": "cross-env BUILD_E2E=1 npm run lint && npm run test && npm run build:prod && npm run e2e",
"ci:nobuild": "npm run lint && npm test && npm run e2e",
"ci:testall": "cross-env BUILD_E2E=1 npm run lint && npm run test && npm run build:prod && npm run e2e",
"ci": "npm run ci:testall",
"clean:dll": "npm run rimraf -- dll",
"clean:aot": "npm run rimraf -- compiled",
"clean:dist": "npm run rimraf -- dist",
"clean:modules": "npm run rimraf -- node_modules package-lock.json",
"clean:install": "npm set progress=false && npm install",
"clean": "npm cache clean --force && npm run rimraf -- node_modules doc coverage reports dist compiled dll",
"docs": "node ./node_modules/@compodoc/compodoc/bin/index-cli src --theme material --tsconfig ./tsconfig.json --output ./reports/api-docs/starter",
"docs:coverage": "npm run docs -- --coverageTest 85 --coverageTestThresholdFail false",
"docs:serve": "npm run docs -- --watch --serve --port 4321",
"e2e:live": "npm-run-all -p -r server:prod:ci protractor:live",
"e2e": "npm-run-all -p -r server:prod:ci protractor",
"karma": "karma",
"lint": "npm run lint-ts && npm run lint-css",
"lint-ts": "tslint --config ./tslint.json --project ./tsconfig.json --format codeFrame",
"lint-ts:fix": "node --max_old_space_size=4096 ./node_modules/tslint/bin/tslint --config ./tslint.json --project ./tsconfig.json --format codeFrame --fix",
"lint-css": "stylelint \"./src/**/*.?(pc|sc|c|sa)ss\" --formatter \"string\"",
"ng": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng",
"ngc": "ngc",
"node": "node",
"postinstall": "npm run webdriver:update",
"postversion": "git push && git push --tags",
"preclean:install": "npm run clean",
"prettier-check": "prettier **/*.{css,js,json,md,pcss,scss,ts} --write",
"preversion": "npm test",
"protractor": "protractor ./e2e/protractor.conf",
"protractor:delay": "sleep 3 && npm run protractor",
"protractor:live": "protractor --elementExplorer",
"rimraf": "npx rimraf",
"server:dev:hmr": "npm run server:dev -- --configuration hmr",
"server:aot:dev": "npm run server:dev -- --aot",
"server:dev": "npm run clean:dist && npm run ng -- serve",
"server:dev:monitor": "npm run clean:dist && cross-env MONITOR=1 npm run ng -- serve",
"server:dev:bundle-analyzer": "npm run clean:dist && cross-env BUNDLE_ANALYZER=1 npm run ng -- serve",
"server:prod": "http-server dist -c-1 --cors",
"server:prod:ci": "http-server dist -p 3000 -c-1 --cors",
"server": "npm run server:dev",
"start:hmr": "npm run server:dev:hmr",
"start:monitor": "npx mkdirp reports && cross-env MONITOR=1 npm run server:dev",
"start": "npm run server:dev",
"start:aot": "npm run server:aot:dev",
"test": "npm run lint && npm run test-fast",
"test:ci": "npm run lint && npm run test-fast:ci",
"test-fast": "karma start",
"test-fast:ci": "karma start karma.conf.ci.js",
"tsc": "tsc",
"tslint": "tslint",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"version": "npm run build",
"watch:dev:hmr": "npm run watch:dev -- --hot",
"watch:dev": "npm run build:dev -- --watch",
"watch:aot:dev": "npm run build:aot:dev -- --watch",
"watch:prod": "npm run build:prod -- --watch",
"watch:aot:prod": "npm run build:aot:prod -- --watch",
"watch:test": "npm run test -- --auto-watch --no-single-run",
"watch": "npm run watch:dev",
"webdriver-manager": "node ./node_modules/protractor/bin/webdriver-manager",
"webdriver:start": "node ./node_modules/protractor/bin/webdriver-manager start",
"webdriver:update": "node ./node_modules/protractor/bin/webdriver-manager update",
"webpack-dev-server": "node --max_old_space_size=4096 node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run docs:coverage"
}
},
"lint-staged": {
"*.{css,js,json,md,pcss,scss,ts}": [
"prettier --write"
]
},
"dependencies": {
"@angular/animations": "~7.2.2",
"@angular/cdk": "~7.3.0",
"@angular/cli": "~7.3.0",
"@angular/common": "~7.2.2",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/core": "~7.2.2",
"@angular/flex-layout": "7.0.0-beta.24",
"@angular/forms": "~7.2.2",
"@angular/material": "~7.3.0",
"@angular/platform-browser": "~7.2.2",
"@angular/platform-browser-dynamic": "~7.2.2",
"@angular/platform-server": "~7.2.2",
"@angular/router": "~7.2.2",
"@nationalbankbelgium/code-style": "^1.2.0",
"@nationalbankbelgium/stark-core": "latest",
"@nationalbankbelgium/stark-ui": "latest",
"@uirouter/visualizer": "~7.2.1",
"core-js": "~3.8.0",
"eligrey-classlist-js-polyfill": "~1.2.20180112",
"event-source-polyfill": "~1.0.5",
"hammerjs": "^2.0.8",
"http-server": "~0.12.0",
"ngrx-store-freeze": "~0.2.4",
"ngrx-store-logger": "~0.2.2",
"reflect-metadata": "~0.1.13",
"rxjs": "^6.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@compodoc/compodoc": "~1.1.11",
"@nationalbankbelgium/stark-build": "latest",
"@nationalbankbelgium/stark-testing": "latest",
"@types/core-js": "~2.5.0",
"@types/hammerjs": "~2.0.36",
"@types/node": "~10.17.13",
"@types/webpack-env": "~1.15.0",
"cross-env": "~7.0.0",
"find-root": "~1.1.0",
"husky": "~4.3.0",
"lint-staged": "~10.5.1",
"npm-run-all": "~4.1.5",
"parse5": "~6.0.0",
"ts-node": "~9.1.1",
"tslib": "~1.10.0",
"typescript": "~3.2.4"
}
}