Skip to content

Commit 694f35b

Browse files
committed
build: update build scripts
1 parent ba8a95f commit 694f35b

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.stylelintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
}
4343
},
4444
{
45-
"files": "site/**/*.scss",
45+
"files": "docs/**/*.scss",
4646
"rules": {
4747
"scss/dollar-variable-default": null
4848
}
4949
},
5050
{
51-
"files": "site/**/examples/**/*.css",
51+
"files": "docs/**/examples/**/*.css",
5252
"rules": {
5353
"comment-empty-line-before": null,
5454
"property-no-vendor-prefix": null,

package.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
"homepage": "https://coreui.io",
1818
"author": "The CoreUI Team (https://github.com/orgs/coreui/people)",
1919
"scripts": {
20-
"start": "npm-run-all --parallel watch docs-serve",
20+
"start": "npm-run-all watch docs-serve",
2121
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
22-
"changelog": "auto-changelog --template build/changelog-template.hbs --commit-limit false --package --backfill-limit 0 --starting-version v4.2.6",
2322
"css": "npm-run-all css-compile css-prefix css-minify",
2423
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
2524
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
@@ -58,11 +57,12 @@
5857
"docs-serve": "hugo server --port 9001 --disableFastRender --printUnusedTemplates",
5958
"docs-serve-only": "npx sirv-cli _gh_pages --port 9001",
6059
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
61-
"update-deps": "ncu -u -x globby,karma-browserstack-launcher,karma-rollup-preprocessor && echo Manually update site/assets/js/vendor",
60+
"update-deps": "ncu -u -x globby,karma-browserstack-launcher,karma-rollup-preprocessor,terser && echo Manually update docs/assets/js/vendor",
6261
"release": "npm-run-all dist release-sri docs-build release-zip*",
6362
"release-sri": "node build/generate-sri.js",
6463
"release-version": "node build/change-version.js",
65-
"release-zip": "cross-env-shell \"rm -rf coreui-$npm_package_version-dist coreui-$npm_package_version-dist.zip && cp -r dist/ coreui-$npm_package_version-dist && zip -qr9 coreui-$npm_package_version-dist.zip coreui-$npm_package_version-dist && rm -rf coreui-$npm_package_version-dist\"", "dist": "npm-run-all --aggregate-output --parallel css js",
64+
"release-zip": "cross-env-shell \"rm -rf coreui-$npm_package_version-dist coreui-$npm_package_version-dist.zip && cp -r dist/ coreui-$npm_package_version-dist && zip -qr9 coreui-$npm_package_version-dist.zip coreui-$npm_package_version-dist && rm -rf coreui-$npm_package_version-dist\"",
65+
"dist": "npm-run-all --aggregate-output --parallel css js",
6666
"test": "npm-run-all lint dist js-test docs-build docs-lint",
6767
"watch": "npm-run-all --parallel watch-*",
6868
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
@@ -82,6 +82,12 @@
8282
"bugs": {
8383
"url": "https://github.com/coreui/coreui/issues"
8484
},
85+
"funding": [
86+
{
87+
"type": "opencollective",
88+
"url": "https://opencollective.com/coreui"
89+
}
90+
],
8591
"license": "MIT",
8692
"peerDependencies": {
8793
"@popperjs/core": "^2.11.7"
@@ -126,6 +132,7 @@
126132
"npm-run-all": "^4.1.5",
127133
"postcss": "^8.4.23",
128134
"postcss-cli": "^10.1.0",
135+
"postcss-combine-duplicated-selectors": "^10.0.3",
129136
"postcss-drop-empty-css-vars": "^0.0.0",
130137
"rollup": "^3.21.1",
131138
"rollup-plugin-istanbul": "^4.0.0",
@@ -165,8 +172,5 @@
165172
"peerDependencies": {
166173
"@popperjs/core": "^2.11.7"
167174
}
168-
},
169-
"dependencies": {
170-
"postcss-combine-duplicated-selectors": "^10.0.3"
171175
}
172176
}

0 commit comments

Comments
 (0)