forked from DevCloudFE/ng-devui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 5.24 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
{
"name": "devui-components",
"version": "0.0.0-not-used",
"license": "MIT",
"description": "DevUI components based on Angular",
"engineStrict": true,
"engines": {
"node": ">=10.9.0"
},
"scripts": {
"ng": "ng",
"start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --open --configuration es5",
"start-es6": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --open",
"build": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --prod --deploy-url /components/",
"build:separate": "npm run build:devui && node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --prod --deploy-url /components/ --configuration separate",
"test": "ng test",
"test:lib": "ng test devui-lib --no-watch --no-progress --browsers=ChromeHeadlessCI",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "patch-package && ngcc --tsconfig tsconfig.base.json",
"lint:devui": "tslint -p devui/tsconfig.lint.json -c devui/tslint.json \"devui/**/*.ts\"",
"lint:devui:fix": "tslint --fix -p devui/tsconfig.lint.json -c devui/tslint.json \"*.ts\"",
"prettier": "prettier --config ./.prettierrc --write \"{devui,src}/**/*.html\"",
"stylelint": "stylelint \"{devui,src}/**/*.{scss,css}\" --fix",
"build:devui": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build devui-lib --configuration production",
"postbuild:devui": "node scripts/copy-artifacts.js && npm run css-compile && npm run theme-css-compile && npm run css-postcompile && npm run css-minify && npm run grid-css-compile",
"css-compile": "node scripts/sass-handler.js ./devui/style/devui.scss ./publish/devui.css",
"css-postcompile": "node scripts/css-postcompile",
"theme-css-compile": "node scripts/sass-handler.js ./devui/theme-collection/extend-theme.scss ./publish/theme-collection/extend-theme.css",
"css-minify": "cleancss --format breakWith=lf --output ./publish/devui.min.css ./publish/devui.css",
"grid-css-compile": "node scripts/sass-handler.js ./devui/style/layout/devui-layout.scss ./publish/devui-layout.css && node scripts/css-handle/handle-prefix.js && cleancss --format breakWith=lf --output ./publish/devui-layout.min.css ./publish/devui-layout.css",
"build:devui:ivy": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build devui-lib"
},
"dependencies": {
"@angular/animations": "~12.1.3",
"@angular/cdk": "^12.1.3",
"@angular/common": "~12.1.3",
"@angular/compiler": "~12.1.3",
"@angular/core": "~12.1.3",
"@angular/forms": "~12.1.3",
"@angular/platform-browser": "~12.1.3",
"@angular/platform-browser-dynamic": "~12.1.3",
"@angular/router": "~12.1.3",
"@devui-design/icons": "^1.2.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@popperjs/core": "^2.5.4",
"@types/lodash-es": "^4.17.3",
"@types/marked": "^1.1.0",
"bootstrap": "^4.5.2",
"classlist.js": "^1.1.20150312",
"color": "^3.1.3",
"core-js": "^3.14.0",
"css-vars-ponyfill": "^2.3.2",
"date-fns": "1.30.1",
"enquire.js": "^2.1.6",
"fastestsmallesttextencoderdecoder": "1.0.14",
"lodash-es": "^4.17.15",
"marked": "2.1.1",
"web-animations-js": "^2.3.2",
"zone.js": "~0.11.4",
"gridstack": "2.0.1"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^12.0.0",
"@angular-devkit/build-angular": "~12.1.3",
"@angular/cli": "^12.1.3",
"@angular/compiler-cli": "~12.1.3",
"@angular/language-service": "^12.1.3",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"clean-css-cli": "^4.3.0",
"codelyzer": "^6.0.0",
"highlight.js": "^10.2.0",
"html-loader": "^1.3.0",
"husky": "^4.3.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "^2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"karma-junit-reporter": "^2.0.1",
"lint-staged": "^9.2.3",
"markdown-loader": "^5.1.0",
"ng-packagr": "^12.0.0",
"ngx-build-plus": "^8.1.5",
"patch-package": "^6.2.2",
"postcss": "^8.2.4",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"rxjs": "~6.6.2",
"sass": "^1.32.0",
"shelljs": "^0.8.3",
"stylelint": "^13.3.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.17.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~4.3.5"
},
"lint-staged": {
"devui/**/*.ts": [
"tslint --fix -p devui/tsconfig.lint.json -c devui/tslint.json \"*.ts\"",
"git add"
],
"src/**/*.ts": [
"tslint --fix -c src/tslint.json \"*.ts\"",
"git add"
],
"{devui,src}/**/*.html": [
"prettier --config ./.prettierrc --write",
"git add"
],
"{devui,src}/**/*.{scss,css}": [
"stylelint --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run test:lib"
}
}
}