forked from NationalBankBelgium/stark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
207 lines (207 loc) · 13.7 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "stark-srcs",
"version": "10.2.0",
"private": true,
"description": "Stark - a framework for Angular apps",
"author": "Stark Team <alexis.georges@nbb.be>",
"contributors": [
"PLACEHOLDER-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"
},
"devDependencies": {
"@angular/animations": "^7.0.0",
"@angular/cdk": "^7.0.0",
"@angular/cli": "^7.3.10",
"@angular/common": "^7.0.0",
"@angular/compiler": "^7.0.0",
"@angular/compiler-cli": "^7.0.0",
"@angular/core": "^7.0.0",
"@angular/forms": "^7.0.0",
"@angular/material": "^7.0.0",
"@angular/platform-browser": "^7.0.0",
"@angular/platform-browser-dynamic": "^7.0.0",
"@angular/router": "^7.0.0",
"@angular-devkit/build-ng-packagr": "~0.13.10",
"@commitlint/cli": "^12.0.0",
"@commitlint/config-conventional": "^12.0.0",
"@compodoc/compodoc": "~1.1.11",
"@nationalbankbelgium/code-style": "^1.4.0",
"@ngtools/json-schema": "^1.1.0",
"@release-it/conventional-changelog": "^2.0.1",
"codelyzer": "^5.2.2",
"commitizen": "^4.2.3",
"conventional-changelog-cli": "^2.1.1",
"core-js": "^3.9.1",
"cross-env": "^7.0.3",
"cz-customizable": "^6.3.0",
"hammerjs": "^2.0.8",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"ng-packagr": "^5.7.1",
"prettier": "~2.2.1",
"release-it": "^14.4.1",
"rxjs": "^6.6.6",
"stream-concat": "^0.3.0",
"stylelint": "^13.11.0",
"stylelint-config-prettier": "^8.0.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-sonarts": "^1.9.0",
"typescript": "~3.2.4",
"zone.js": "~0.10.3"
},
"scripts": {
"build": "bash ./build.sh",
"build:trace": "npm run build -- --trace",
"build:stark-build": "npm run build -- --packages=stark-build",
"build:stark-core": "npm run build -- --packages=stark-core",
"build:stark-rbac": "npm run build -- --packages=stark-rbac",
"build:stark-testing": "npm run build -- --packages=stark-testing",
"build:stark-ui": "npm run build -- --packages=stark-ui",
"build:showcase": "cd showcase && npm run build:prod && cd ..",
"build:showcase:ghpages": "cd showcase && npm run build:prod:ghpages && cd ..",
"build:starter": "cd starter && npm run build && cd ..",
"check:starter:stark-versions": "node ./check-stark-versions.js ./starter/package.json latest",
"check:nightly:stark-versions": "node ./check-nightly-version.js ./package.json",
"clean": "npx rimraf ./dist",
"clean:all": "npm run clean && npm run clean:stark-build && npm run clean:stark-testing && npm run clean:stark-core && npm run clean:stark-ui && npm run clean:stark-rbac && npm run clean:starter && npm run clean:showcase",
"clean:stark-build": "cd packages/stark-build && npm run clean && cd ../..",
"clean:stark-core": "cd packages/stark-core && npm run clean && cd ../..",
"clean:stark-rbac": "cd packages/stark-rbac && npm run clean && cd ../..",
"clean:stark-testing": "cd packages/stark-testing && npm run clean && cd ../..",
"clean:stark-ui": "cd packages/stark-ui && npm run clean && cd ../..",
"clean:showcase": "cd showcase && npx rimraf ./dist && npx rimraf ./node_modules/@nationalbankbelgium && cd ..",
"clean:slate": "npm run clean:all && npm run clean:modules:all && npm install && npm run install:all",
"clean:starter": "cd starter && npx rimraf ./dist && npx rimraf ./node_modules/@nationalbankbelgium && cd ..",
"clean:modules": "npx rimraf ./node_modules package-lock.json",
"clean:modules:all": "npm run clean:modules && npm run clean:modules:stark-build && npm run clean:modules:stark-testing && npm run clean:modules:stark-core && npm run clean:modules:stark-ui && npm run clean:modules:stark-rbac && npm run clean:modules:starter && npm run clean:modules:showcase",
"clean:modules:stark-build": "cd packages/stark-build && npm run clean:modules && cd ../..",
"clean:modules:stark-core": "cd packages/stark-core && npm run clean:modules && cd ../..",
"clean:modules:stark-rbac": "cd packages/stark-rbac && npm run clean:modules && cd ../..",
"clean:modules:stark-testing": "cd packages/stark-testing && npm run clean:modules && cd ../..",
"clean:modules:stark-ui": "cd packages/stark-ui && npm run clean:modules dist && cd ../..",
"clean:modules:showcase": "cd showcase && npm run clean:modules && cd ..",
"clean:modules:starter": "cd starter && npm run clean:modules && cd ..",
"commit": "./node_modules/.bin/git-cz",
"docs": "npm run docs:clean && npm run docs:all",
"docs:all": "npm run docs:stark-core:generate && npm run docs:stark-ui:generate && npm run docs:stark-rbac:generate && npm run docs:starter:generate",
"docs:clean": "npx rimraf reports/api-docs",
"docs:coverage": "npm run docs:stark-core:coverage && npm run docs:stark-ui:coverage && npm run docs:stark-rbac:coverage && npm run docs:starter:coverage",
"docs:travis-ci:coverage": "npm run docs:stark-core:coverage && npm run docs:stark-ui:coverage && npm run docs:stark-rbac:coverage",
"docs:publish": "bash ./gh-deploy.sh --trace",
"docs:stark-core:coverage": "cd packages/stark-core && npm run docs:coverage && cd ../..",
"docs:stark-core:generate": "cd packages/stark-core && npm run docs && cd ../..",
"docs:stark-core:serve": "cd packages/stark-core && npm run docs:serve && cd ../..",
"docs:stark-rbac:coverage": "cd packages/stark-rbac && npm run docs:coverage && cd ../..",
"docs:stark-rbac:generate": "cd packages/stark-rbac && npm run docs && cd ../..",
"docs:stark-rbac:serve": "cd packages/stark-rbac && npm run docs:serve && cd ../..",
"docs:stark-ui:coverage": "cd packages/stark-ui && npm run docs:coverage && cd ../..",
"docs:stark-ui:generate": "cd packages/stark-ui && npm run docs && cd ../..",
"docs:stark-ui:serve": "cd packages/stark-ui && npm run docs:serve && cd ../..",
"docs:starter:coverage": "cd starter && npm run docs:coverage && cd ..",
"docs:starter:generate": "cd starter && npm run docs && cd ..",
"docs:starter:serve": "cd starter && npm run docs:serve && cd ..",
"generate:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"generate:changelog-recent": "conventional-changelog -p angular | tail -n +3",
"lint": "npm run lint:all",
"lint:stark-core": "cd packages/stark-core && npm run lint && cd ../..",
"lint:stark-rbac": "cd packages/stark-rbac && npm run lint && cd ../..",
"lint:stark-ui": "cd packages/stark-ui && npm run lint && cd ../..",
"lint:showcase": "cd showcase && npm run lint && cd ..",
"lint:starter": "cd starter && npm run lint && cd ..",
"lint:all": "npm run lint:stark-core && npm run lint:stark-ui && npm run lint:stark-rbac && npm run lint:starter && npm run lint:showcase",
"lint:travis-ci:all": "npm run lint:stark-core && npm run lint:stark-ui && npm run lint:stark-rbac && npm run lint:showcase",
"install:all": "npm run install:stark-build && npm run install:stark-testing && npm run install:stark-core && npm run install:stark-ui && npm run install:stark-rbac && npm run build && npm run install:starter && npm run install:showcase",
"install:stark-build": "cd packages/stark-build && npm install && cd ../..",
"install:stark-core": "cd packages/stark-core && npm install && cd ../..",
"install:stark-rbac": "cd packages/stark-rbac && npm install && cd ../..",
"install:stark-testing": "cd packages/stark-testing && npm install && cd ../..",
"install:stark-ui": "cd packages/stark-ui && npm install && cd ../..",
"install:showcase": "cd showcase && npm install && cd ..",
"install:starter": "cd starter && cross-env HUSKY_SKIP_INSTALL=1 npm install && cd ..",
"install:ci:all": "npm run install:ci:stark-build && npm run install:ci:stark-testing && npm run install:ci:stark-core && npm run install:ci:stark-ui && npm run install:ci:stark-rbac && npm run build:trace && npm run install:starter && npm run install:ci:showcase",
"install:ci:stark-build": "cd packages/stark-build && npm ci && cd ../..",
"install:ci:stark-core": "cd packages/stark-core && npm ci && cd ../..",
"install:ci:stark-rbac": "cd packages/stark-rbac && npm ci && cd ../..",
"install:ci:stark-testing": "cd packages/stark-testing && npm ci && cd ../..",
"install:ci:stark-ui": "cd packages/stark-ui && npm ci && cd ../..",
"install:ci:showcase": "cd showcase && npm ci && cd ..",
"install:travis-ci:all": "npm run install:ci:stark-build && npm run install:ci:stark-testing && npm run install:ci:stark-core && npm run install:ci:stark-ui && npm run install:ci:stark-rbac && npm run build:trace && npm run install:ci:showcase",
"install:travis:all": "npm run install:stark-build && npm run install:stark-testing && npm run install:stark-core && npm run install:stark-ui && npm run install:stark-rbac && npm run build:trace && npm run update:starter && npm run update:showcase",
"ng": "ng",
"ngc": "ngc",
"prettier-check": "prettier \"**/*.{css,html,js,json,md,pcss,scss,ts,yml}\" --write --html-whitespace-sensitivity strict",
"preupdate:showcase": "npm run clean:showcase",
"preupdate:starter": "npm run clean:starter",
"release": "release-it",
"release:publish": "bash ./release-publish.sh --trace",
"sync:stark-build:showcase": "npm run build:stark-build && cp -Rf ./dist/packages/stark-build ./showcase/node_modules/@nationalbankbelgium/",
"sync:stark-build:starter": "npm run build:stark-build && cp -Rf ./dist/packages/stark-build ./starter/node_modules/@nationalbankbelgium/",
"sync:stark-core:showcase": "npm run build:stark-core && cp -Rf ./dist/packages/stark-core ./showcase/node_modules/@nationalbankbelgium/",
"sync:stark-core:starter": "npm run build:stark-core && cp -Rf ./dist/packages/stark-core ./starter/node_modules/@nationalbankbelgium/",
"sync:stark-rbac:showcase": "npm run build:stark-rbac && cp -Rf ./dist/packages/stark-rbac ./showcase/node_modules/@nationalbankbelgium/",
"sync:stark-rbac:starter": "npm run build:stark-rbac && cp -Rf ./dist/packages/stark-rbac ./starter/node_modules/@nationalbankbelgium/",
"sync:stark-testing:showcase": "npm run build:stark-testing && cp -Rf ./dist/packages/stark-testing ./showcase/node_modules/@nationalbankbelgium/",
"sync:stark-testing:starter": "npm run build:stark-testing && cp -Rf ./dist/packages/stark-testing ./starter/node_modules/@nationalbankbelgium/",
"sync:stark-ui:showcase": "npm run build:stark-ui && cp -Rf ./dist/packages/stark-ui ./showcase/node_modules/@nationalbankbelgium/",
"sync:stark-ui:starter": "npm run build:stark-ui && cp -Rf ./dist/packages/stark-ui ./starter/node_modules/@nationalbankbelgium/",
"showcase": "cd showcase && npm start && cd ..",
"starter": "cd starter && npm start && cd ..",
"stylelint-check": "stylelint-config-prettier-check",
"test": "npm run test:ci:all",
"test:all": "npm run test:stark-core && npm run test:stark-ui && npm run test:stark-rbac && npm run test:starter && npm run test:showcase",
"test:stark-core": "cd packages/stark-core && npm run test-fast && cd ../..",
"test:stark-rbac": "cd packages/stark-rbac && npm run test-fast && cd ../..",
"test:stark-ui": "cd packages/stark-ui && npm run test-fast && cd ../..",
"test:showcase": "cd showcase && npm run test-fast && cd ../..",
"test:showcase:e2e": "cd showcase && npm run e2e && cd ../..",
"test:showcase:e2e:browserstack": "cd showcase && npm run e2e:browserstack && cd ../..",
"test:starter": "cd starter && npm run test-fast && cd ../..",
"test:starter:e2e": "cd starter && npm run e2e && cd ../..",
"test:ci:all": "npm run test:ci:stark-core && npm run test:ci:stark-ui && npm run test:ci:stark-rbac && npm run test:ci:starter && npm run test:ci:showcase",
"test:travis-ci:all": "npm run test:ci:stark-core && npm run test:ci:stark-ui && npm run test:ci:stark-rbac && npm run test:ci:showcase",
"test:ci:stark-core": "cd packages/stark-core && npm run test-fast:ci && cd ../..",
"test:ci:stark-rbac": "cd packages/stark-rbac && npm run test-fast:ci && cd ../..",
"test:ci:stark-ui": "cd packages/stark-ui && npm run test-fast:ci && cd ../..",
"test:ci:showcase": "cd showcase && npm run test-fast:ci && cd ../..",
"test:ci:starter": "cd starter && npm run test-fast:ci && cd ../..",
"test:ci:coveralls:combined": "node combine-packages-coverage.js",
"tsc": "tsc",
"tslint": "tslint",
"tslint-check:all": "npm run tslint-check:stark-core && npm run tslint-check:stark-ui && npm run tslint-check:stark-rbac && npm run tslint-check:starter && npm run tslint-check:showcase",
"tslint-check:stark-core": "cd packages/stark-core && npm run tslint-check && cd ../..",
"tslint-check:stark-rbac": "cd packages/stark-rbac && npm run tslint-check && cd ../..",
"tslint-check:stark-ui": "cd packages/stark-ui && npm run tslint-check && cd ../..",
"tslint-check:showcase": "cd showcase && npm run tslint-check && cd ../..",
"tslint-check:starter": "cd starter && npm run tslint-check && cd ../..",
"update:showcase": "npm run clean:showcase && npm run install:showcase",
"update:starter": "npm run clean:starter && npm run install:starter"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && npm run docs:coverage"
}
},
"lint-staged": {
"*.{css,html,js,json,md,pcss,scss,ts,yml}": [
"prettier --write --html-whitespace-sensitivity strict"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"nightlyVersion": "11.0.0"
}
}