forked from vmware-archive/clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
178 lines (178 loc) · 9.29 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
{
"name": "@clr/clarity",
"version": "2.0.2",
"private": true,
"scripts": {
"build:icons:web": "webpack --config webpack.icons.config.js",
"build:icons:css": "sass --source-map --precision=8 ./src/clr-icons/clr-icons.scss ./dist/clr-icons/clr-icons.css",
"build:icons:optimize": "csso -i ./dist/clr-icons/clr-icons.css -o ./dist/clr-icons/clr-icons.min.css -s file;",
"build:icons:package": "cpy ./npm/clr-icons/package.json ./npm/clr-icons/README.md ./dist/clr-icons/; replace '@VERSION' $npm_package_version ./dist/clr-icons/package.json",
"build:icons:svg": "node ./scripts/clr-icons-svg.js",
"build:icons": "npm-run-all build:icons:css build:icons:optimize build:icons:web build:icons:package build:icons:svg",
"build:ui:css": "sass --source-map --precision=8 ./src/clr-angular/main.scss ./dist/clr-ui/clr-ui.css; sass --source-map --precision=8 ./src/clr-angular/dark-theme.scss ./dist/clr-ui/clr-ui-dark.css",
"build:ui:prefix": "postcss ./dist/clr-ui/clr-ui.css -o ./dist/clr-ui/clr-ui.css; postcss ./dist/clr-ui/clr-ui-dark.css -o ./dist/clr-ui/clr-ui-dark.css",
"build:ui:src": "cpy --parents --cwd='src/clr-angular/' '**/*.scss' ../../dist/clr-ui/src/",
"build:ui:optimize": "csso -i ./dist/clr-ui/clr-ui.css -o ./dist/clr-ui/clr-ui.min.css -s file; csso -i ./dist/clr-ui/clr-ui-dark.css -o ./dist/clr-ui/clr-ui-dark.min.css -s file",
"build:ui:package": "cpy ./npm/clr-ui/package.json ./npm/clr-ui/README.md ./dist/clr-ui/; replace '@VERSION' $npm_package_version ./dist/clr-ui/package.json",
"build:ui": "npm-run-all build:ui:css build:ui:prefix build:ui:src build:ui:optimize build:ui:package",
"build:angular:package": "cpy ./npm/clr-angular/package.json ./npm/clr-angular/README.md ./src/clr-angular/; replace '@VERSION' $npm_package_version ./src/clr-angular/package.json",
"build:angular:ngpackagr": "ng build clr-angular",
"build:angular": "npm-run-all build:angular:package build:angular:ngpackagr",
"build:schematics:ts": "tsc -p ./src/schematics/tsconfig.json",
"build:schematics:collection": "cpy --parents --cwd='src/schematics/src/' '**/*.json' ../../../dist/clr-angular/schematics",
"build:schematics": "npm-run-all build:schematics:ts build:schematics:collection",
"build:golden": "ts-api-guardian --out dist/golden/clr-angular.d.ts --stripExportPattern 'FocusTrapTracker' dist/clr-angular/index.d.ts",
"build": "npm-run-all clean build:ui build:icons build:angular build:schematics build:golden",
"build:preview": "ng build --baseHref=/dev/",
"build:ks": "ng build --prod ks-app",
"build:dev": "ng build --prod dev",
"ng": "ng",
"start": "ng serve dev",
"start:ks-app": "ng serve ks-app",
"start:dark": "ng serve dev -c dark",
"clean": "del ./dist",
"golden:fix": "npm run build:angular && ts-api-guardian --out golden/clr-angular.d.ts --stripExportPattern 'FocusTrapTracker' dist/clr-angular/index.d.ts",
"test:format": "prettier --list-different './**/*.{js,json,md,ts,scss}'",
"pretest:lint": "tsc -p tests/tslint/tsconfig.json",
"test:lint:ts": "tslint -p . -c tslint.json \"src/**/*.ts\" -e \"src/ks-app/**\" -e \"src/schematics/**\"",
"test:lint:styles": "stylelint \"src/**/*.scss\" \"src/**/*.css\"",
"test:lint": "npm-run-all website:news test:lint:ts test:lint:styles",
"test:visual": "npm-run-all 'test:visual:light -- {*}' 'test:visual:dark -- {*}' --",
"test:visual:light": "./scripts/docker-cdc.js -t",
"test:visual:dark": "./scripts/docker-cdc.js -t -c dark",
"test:a11y": "node scripts/axe",
"test:golden": "diff -u golden/clr-angular.d.ts dist/golden/clr-angular.d.ts",
"test": "ng test clr-angular --watch false --code-coverage",
"test:watch": "ng test clr-angular --watch --code-coverage",
"test:travis": "npm-run-all test:format test:lint test build build:ks build:dev test:golden",
"format:fix": "pretty-quick --staged",
"license:fix": "node scripts/update-license",
"visual:fix": "npm-run-all 'visual:fix:light -- {*}' 'visual:fix:dark -- {*}' --",
"visual:fix:light": "./scripts/docker-cdc.js -u",
"visual:fix:dark": "./scripts/docker-cdc.js -u -c dark",
"lint:ts:fix": "tslint -p . -c tslint.json --fix \"src/**/*.ts\" -e \"**/node_modules/**\" -e \"src/ks-app/**\" -e \"src/schematics/**\"",
"lint:styles:fix": "stylelint --fix \"src/**/*.scss\" \"src/**/*.css\"",
"lint:fix": "npm-run-all lint:ts:fix lint:styles:fix",
"publish:latest": "npm publish dist/clr-ui; npm publish dist/clr-angular; npm publish dist/clr-icons",
"publish:alpha": "npm publish dist/clr-ui --tag alpha; npm publish dist/clr-angular --tag alpha; npm publish dist/clr-icons --tag alpha",
"publish:beta": "npm publish dist/clr-ui --tag beta; npm publish dist/clr-angular --tag beta; npm publish dist/clr-icons --tag beta",
"publish:rc": "npm publish dist/clr-ui --tag rc; npm publish dist/clr-angular --tag rc; npm publish dist/clr-icons --tag rc",
"publish:next": "npm publish dist/clr-ui --tag next; npm publish dist/clr-angular --tag next; npm publish dist/clr-icons --tag next",
"publish:local": "npm publish dist/clr-ui --registry http://localhost:4873; npm publish dist/clr-angular --registry http://localhost:4873; npm publish dist/clr-icons --registry http://localhost:4873",
"ks:publish": "ng build --prod ks-app; cat ./dist/ks-app/index.html > ./dist/ks-app/404.html; surge -p ./dist/ks-app",
"website:compile": "webpack --config src/website/webpack.server.config.js",
"website:server": "node dist/website/server",
"website:deploy-preview": "ng build website --progress=false",
"website:build": "ng build website --prod --progress=false",
"website:build:server": "ng run website:server:production",
"website:build:compile": "npm run website:compile",
"website:start": "npm run website:news && ng serve website",
"website:render": "node dist/website/prerender",
"website:404": "cpy --rename 404.html dist/website/browser/index.html dist/website/browser",
"website:functions": "netlify-lambda build scripts/netlify",
"website:news": "node src/website/generate-news",
"website:prerender": "npm-run-all website:news website:build website:functions website:404",
"website:preview": "lite-server --baseDir=dist/website/browser"
},
"dependencies": {
"@angular/animations": "8.0.0",
"@angular/common": "8.0.0",
"@angular/compiler": "8.0.0",
"@angular/core": "8.0.0",
"@angular/forms": "8.0.0",
"@angular/platform-browser": "8.0.0",
"@angular/platform-browser-dynamic": "8.0.0",
"@angular/platform-server": "8.0.0",
"@angular/router": "8.0.0",
"@nguniversal/express-engine": "7.0.2",
"@nguniversal/module-map-ngfactory-loader": "7.0.2",
"@webcomponents/custom-elements": "1.1.0",
"core-js": "2.5.5",
"express": "4.16.4",
"jump.js": "1.0.2",
"prismjs": "1.14.0",
"rxjs": "6.5.2",
"web-animations-js": "github:angular/web-animations-js#release_pr208",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.800.0",
"@angular-devkit/build-ng-packagr": "0.800.0",
"@angular-devkit/core": "8.0.0",
"@angular/cli": "8.0.0",
"@angular/compiler-cli": "8.0.0",
"@angular/language-service": "8.0.0",
"@commitlint/cli": "8.0.0",
"@commitlint/config-conventional": "8.0.0",
"@types/jasmine": "3.3.13",
"@types/jasmine-expect": "3.8.1",
"@types/jasmine-matchers": "0.2.32",
"@types/jasminewd2": "2.0.6",
"@types/node": "8.9.5",
"autoprefixer": "9.5.1",
"awesome-typescript-loader": "5.2.1",
"axe-cli": "3.0.0",
"cheerio": "1.0.0-rc.2",
"codelyzer": "5.0.1",
"cpy-cli": "2.0.0",
"csso-cli": "2.0.2",
"del-cli": "1.1.0",
"detect-browser": "4.1.0",
"gemini": "7.4.1",
"html-reporter": "3.6.4",
"husky": "1.3.1",
"jasmine-core": "3.4.0",
"jasmine-expect": "4.0.1",
"jasmine-spec-reporter": "4.2.1",
"karma": "4.0.1",
"karma-chrome-launcher": "2.2.0",
"karma-coverage-istanbul-reporter": "2.0.5",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "1.1.0",
"karma-htmlfile-reporter": "0.3.8",
"karma-ie-launcher": "1.0.0",
"karma-jasmine": "2.0.1",
"karma-jasmine-html-reporter": "1.4.2",
"karma-jasmine-matchers": "4.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-notify-reporter": "1.1.0",
"karma-safari-launcher": "1.0.0",
"karma-sauce-launcher": "2.0.2",
"lite-server": "2.4.0",
"netlify-lambda": "1.4.5",
"ng-packagr": "5.2.0",
"npm-run-all": "4.1.5",
"postcss-cli": "6.1.2",
"prettier": "1.12.1",
"pretty-quick": "1.11.0",
"replace": "1.1.0",
"sass": "1.20.3",
"shelljs": "0.8.3",
"source-map": "0.7.3",
"stylelint": "10.0.1",
"stylelint-config-recommended": "2.2.0",
"ts-api-guardian": "0.4.4",
"ts-loader": "6.0.2",
"ts-node": "8.2.0",
"tsickle": "0.35.0",
"tslib": "1.9.3",
"tslint": "5.17.0",
"tslint-config-prettier": "1.18.0",
"tslint-defocus": "2.0.6",
"typescript": "3.4.5",
"uglifyjs": "2.4.11",
"uglifyjs-webpack-plugin": "2.1.2",
"webpack-cli": "3.3.1",
"xml-js": "1.6.11"
},
"engines": {
"node": ">=10.9.0 <11.0.0",
"npm": ">=5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:fix && npm run license:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}