You've already forked wp-bootstrap
- Bootstrap 5 CSS/JS integration via Yarn (served locally) - Dart Sass build pipeline with PostCSS, Autoprefixer, cssnano - Twig 3.0 via Composer with PSR-4 autoloading - FSE block theme templates (index, home, single, page, archive, search, 404) - Template parts (header, footer) and block patterns - theme.json with Bootstrap 5-aligned design tokens - Gitea CI/CD workflow for automated release packages - WordPress i18n support (en_US base, de_CH translation) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
1.4 KiB
JSON
37 lines
1.4 KiB
JSON
{
|
|
"name": "wp-bootstrap",
|
|
"version": "0.0.1",
|
|
"description": "WordPress Theme built with Bootstrap 5",
|
|
"author": "Marco Graetsch <magdev3.0@gmail.com>",
|
|
"license": "GPL-2.0-or-later",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://src.bundespruefstelle.ch/magdev/wp-bootstrap"
|
|
},
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "^5.3",
|
|
"@popperjs/core": "^2.11"
|
|
},
|
|
"devDependencies": {
|
|
"sass": "^1.97",
|
|
"postcss": "^8.5",
|
|
"postcss-cli": "^11",
|
|
"autoprefixer": "^10.4",
|
|
"cssnano": "^7.1",
|
|
"copyfiles": "^2.4"
|
|
},
|
|
"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",
|
|
"scss:watch": "sass --watch src/scss/style.scss:assets/css/style.css src/scss/editor-style.scss:assets/css/editor-style.css --load-path=node_modules",
|
|
"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/",
|
|
"build": "npm run copy:js && npm run scss && npm run postcss",
|
|
"watch": "npm run copy:js && npm run scss:watch",
|
|
"dev": "npm run watch"
|
|
}
|
|
}
|