You've already forked wp-bootstrap
v1.0.1 - Integrate Bootstrap Icons web font
Add bootstrap-icons npm package with SCSS import and font file copy build step. All 2,000+ icons available via CSS classes (bi bi-*) in both frontend and block editor. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
16
package.json
16
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wp-bootstrap",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "WordPress Theme built with Bootstrap 5",
|
||||
"author": "Marco Graetsch <magdev3.0@gmail.com>",
|
||||
"license": "GPL-2.0-or-later",
|
||||
@@ -13,16 +13,17 @@
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.11",
|
||||
"bootstrap": "^5.3",
|
||||
"@popperjs/core": "^2.11"
|
||||
"bootstrap-icons": "^1.13.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass": "^1.97",
|
||||
"autoprefixer": "^10.4",
|
||||
"copyfiles": "^2.4",
|
||||
"cssnano": "^7.1",
|
||||
"postcss": "^8.5",
|
||||
"postcss-cli": "^11",
|
||||
"autoprefixer": "^10.4",
|
||||
"cssnano": "^7.1",
|
||||
"copyfiles": "^2.4"
|
||||
"sass": "^1.97"
|
||||
},
|
||||
"scripts": {
|
||||
"scss": "sass src/scss/style.scss:assets/css/style.css src/scss/editor-style.scss:assets/css/editor-style.css --load-path=node_modules",
|
||||
@@ -31,7 +32,8 @@
|
||||
"postcss": "postcss assets/css/style.css --use autoprefixer cssnano -o assets/css/style.min.css --no-map",
|
||||
"copy:js": "copyfiles -f node_modules/bootstrap/dist/js/bootstrap.bundle.min.js node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map assets/js/",
|
||||
"copy:theme-js": "copyfiles -f src/js/dark-mode.js assets/js/",
|
||||
"build": "npm run copy:js && npm run copy:theme-js && npm run scss && npm run scss:rtl && npm run postcss",
|
||||
"copy:icons": "copyfiles -f node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2 assets/fonts/",
|
||||
"build": "npm run copy:js && npm run copy:theme-js && npm run copy:icons && npm run scss && npm run scss:rtl && npm run postcss",
|
||||
"watch": "npm run copy:js && npm run scss:watch",
|
||||
"dev": "npm run watch"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user