forked from vmware-archive/clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 9.52 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
{
"name": "@clr/clarity",
"version": "1.0.5",
"private": true,
"scripts": {
"build:icons:web": "webpack --config webpack.icons.config.js",
"build:icons:css": "node-sass --source-map=true --precision=8 ./src/clr-icons/clr-icons.scss ./dist/clr-icons/clr-icons.css",
"build:icons:optimize": "csso ./dist/clr-icons/clr-icons.css ./dist/clr-icons/clr-icons.min.css --map 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": "node-sass --include-path=node_modules --source-map=true --precision=8 --indentedSyntax=true ./src/clr-angular/main.scss ./dist/clr-ui/clr-ui.css; node-sass --include-path=node_modules --source-map=true --precision=8 --indentedSyntax=true ./src/clr-angular/dark-theme.scss ./dist/clr-ui/clr-ui-dark.css",
"build:ui:deprecated": "node-sass --include-path=node_modules --source-map=true --precision=8 --indentedSyntax=true ./src/clr-angular/layout/grid-deprecated.clarity.scss ./dist/clr-ui/clr-grid-deprecated.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; postcss --use autoprefixer -o ./dist/clr-ui/clr-grid-deprecated.css ./dist/clr-ui/clr-grid-deprecated.css",
"build:ui:src": "cpy --parents --cwd='src/clr-angular/' '**/*.scss' ../../dist/clr-ui/src/",
"build:ui:optimize": "csso ./dist/clr-ui/clr-ui.css ./dist/clr-ui/clr-ui.min.css --map file; csso ./dist/clr-ui/clr-ui-dark.css ./dist/clr-ui/clr-ui-dark.min.css --map file; csso ./dist/clr-ui/clr-grid-deprecated.css ./dist/clr-ui/clr-grid-deprecated.css --map 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:deprecated 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",
"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:aot": "ng build --prod ks-app",
"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",
"test:watch": "ng test clr-angular --watch",
"test:travis": "npm-run-all test:format test:lint test build test:aot test:golden",
"format:fix": "pretty-quick --staged",
"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",
"build:preview": "ng build --baseHref=/dev/",
"website:compile": "webpack --config src/website/webpack.server.config.js --progress --colors",
"website:server": "node dist/website/server",
"website:deploy-preview": "ng build website",
"website:build": "ng build website --prod && ng run website:server:production && npm run website:compile",
"website:start": "npm run website:news && ng serve website",
"website:render": "node dist/website/prerender",
"website:functions": "netlify-lambda build scripts/netlify",
"website:news": "node src/website/generate-news",
"website:prerender": "npm-run-all website:news website:build website:render website:functions",
"website:preview": "lite-server --baseDir=dist/website/browser"
},
"dependencies": {
"@angular/animations": "7.0.0",
"@angular/common": "7.0.0",
"@angular/compiler": "7.0.0",
"@angular/core": "7.0.0",
"@angular/forms": "7.0.0",
"@angular/http": "7.0.0",
"@angular/platform-browser": "7.0.0",
"@angular/platform-browser-dynamic": "7.0.0",
"@angular/platform-server": "7.0.0",
"@angular/router": "7.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.15.2",
"jump.js": "1.0.2",
"prismjs": "1.14.0",
"rxjs": "6.3.3",
"web-animations-js": "2.3.1",
"zone.js": "0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.10.3",
"@angular-devkit/build-ng-packagr": "0.10.3",
"@angular-devkit/build-optimizer": "0.10.3",
"@angular-devkit/core": "7.0.3",
"@angular/cli": "7.0.3",
"@angular/compiler-cli": "7.0.0",
"@angular/language-service": "7.0.0",
"@types/jasmine": "2.8.6",
"@types/jasmine-expect": "3.8.1",
"@types/jasmine-matchers": "0.2.30",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.9.5",
"autoprefixer": "6.7.7",
"awesome-typescript-loader": "5.2.1",
"axe-cli": "3.0.0",
"cheerio": "1.0.0-rc.2",
"codelyzer": "4.5.0",
"cpy-cli": "1.0.1",
"csso-cli": "1.1.0",
"del-cli": "1.1.0",
"detect-browser": "2.4.0",
"gemini": "5.9.1",
"html-reporter": "2.22.0",
"husky": "1.0.0-rc.8",
"jasmine-core": "2.99.1",
"jasmine-expect": "3.8.3",
"jasmine-spec-reporter": "4.2.1",
"karma": "3.0.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage-istanbul-reporter": "1.4.2",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "1.1.0",
"karma-htmlfile-reporter": "0.3.7",
"karma-ie-launcher": "1.0.0",
"karma-jasmine": "1.1.1",
"karma-jasmine-html-reporter": "0.2.2",
"karma-jasmine-matchers": "3.7.0",
"karma-mocha-reporter": "2.2.5",
"karma-notify-reporter": "1.0.1",
"karma-safari-launcher": "1.0.0",
"karma-sauce-launcher": "1.2.0",
"karma-scss-preprocessor": "3.0.0",
"lite-server": "2.3.0",
"netlify-lambda": "1.2.0",
"ng-packagr": "4.3.0",
"node-sass": "4.9.3",
"node-sass-tilde-importer": "1.0.2",
"npm-run-all": "4.1.5",
"ora": "3.0.0",
"postcss-cli": "5.0.0",
"prettier": "1.12.1",
"pretty-quick": "1.6.0",
"replace": "1.0.0",
"shelljs": "0.8.1",
"source-map": "0.7.2",
"stylelint": "9.9.0",
"stylelint-config-recommended": "2.1.0",
"ts-api-guardian": "0.4.1",
"ts-loader": "5.2.0",
"ts-node": "5.0.1",
"tsickle": "0.33.0",
"tslib": "1.9.0",
"tslint": "5.11.0",
"tslint-config-prettier": "1.13.0",
"tslint-defocus": "2.0.5",
"typescript": "3.1.3",
"uglifyjs": "2.4.11",
"uglifyjs-webpack-plugin": "1.2.5",
"webpack-cli": "2.1.2",
"xml-js": "1.6.8"
},
"engines": {
"node": ">=10.9.0 <11.0.0",
"npm": ">=5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:fix"
}
}
}