This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 764
/
package.json
129 lines (129 loc) · 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
{
"name": "clr-all",
"version": "0.12.4",
"private": true,
"scripts": {
"build:icons:web": "webpack --config webpack.icons.config.js",
"build:icons:css": "node-sass --source-map=true --precision=6 ./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=6 --indentedSyntax=true ./src/clr-angular/main.scss ./dist/clr-ui/clr-ui.css; node-sass --include-path=node_modules --source-map=true --precision=6 --indentedSyntax=true ./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 ./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;",
"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": "npm-run-all clean build:ui build:icons build:angular build:schematics",
"ng": "ng",
"start": "ng serve dev",
"clean": "del ./dist",
"test:aot": "ng build --prod ks-app",
"test:format": "prettier --list-different ./**/*.{js,json,md,ts,scss}",
"test:lint": "tslint -p . -c tslint.json \"src/**/*.ts\" -e \"src/ks-app/**\" -e \"src/schematics/**\"",
"test:visual": "./scripts/docker-cdc.js -t",
"test": "ng test clr-angular",
"test:watch": "ng test clr-angular --watch",
"test:travis": "npm-run-all build:ui test:format test:lint test test:aot build",
"format:fix": "pretty-quick --staged",
"visual:fix": "./scripts/docker-cdc.js -u",
"lint:fix": "tslint -p . -c tslint.json --fix \"src/**/*.ts\" -e \"**/node_modules/**\" -e \"src/ks-app/**\" -e \"src/schematics/**\"",
"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",
"ks:publish": "ng build --prod ks-app; cat ./dist/ks-app/index.html > ./dist/ks-app/404.html; surge -p ./dist/ks-app"
},
"dependencies": {
"@angular/animations": "^6.0.0",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/core": "^6.0.0",
"@angular/forms": "^6.0.0",
"@angular/platform-browser": "^6.0.0",
"@angular/platform-browser-dynamic": "^6.0.0",
"@angular/router": "^6.0.0",
"@webcomponents/custom-elements": "^1.0.0",
"bootstrap": "4.0.0-alpha.5",
"core-js": "^2.5.5",
"prismjs": "^1.6.0",
"rxjs": "^6.1.0",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.6.0",
"@angular-devkit/build-ng-packagr": "^0.6.0",
"@angular-devkit/build-optimizer": "^0.6.0",
"@angular-devkit/core": "^0.6.0",
"@angular/cli": "^6.0.0",
"@angular/compiler-cli": "^6.0.0",
"@angular/language-service": "^6.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.4",
"autoprefixer": "^6.7.7",
"awesome-typescript-loader": "^5.0.0",
"cheerio": "^1.0.0-rc.2",
"codelyzer": "~4.2.1",
"cpy-cli": "^1.0.1",
"csso-cli": "^1.1.0",
"del-cli": "^1.1.0",
"detect-browser": "^2.4.0",
"husky": "^1.0.0-rc.6",
"jasmine-core": "~2.99.1",
"jasmine-expect": "^3.8.3",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"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.5",
"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",
"ng-packagr": "^2.4.2",
"node-sass": "^4.8.3",
"node-sass-tilde-importer": "^1.0.2",
"npm-run-all": "^4.1.2",
"postcss-cli": "^5.0.0",
"prettier": "1.12.1",
"pretty-quick": "^1.6.0",
"replace": "^0.3.0",
"shelljs": "^0.8.1",
"source-map": "^0.7.2",
"ts-node": "~5.0.1",
"tsickle": ">=0.25.5",
"tslib": "^1.7.1",
"tslint": "~5.9.1",
"tslint-config-prettier": "^1.12.0",
"tslint-defocus": "^2.0.3",
"typescript": "~2.7.2",
"uglifyjs": "^2.4.11",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack-cli": "^2.0.15"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:fix"
}
}
}