{
    "name": "wp-bootstrap",
    "version": "1.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": {
        "@popperjs/core": "^2.11",
        "bootstrap": "^5.3",
        "bootstrap-icons": "^1.13.1"
    },
    "devDependencies": {
        "autoprefixer": "^10.4",
        "copyfiles": "^2.4",
        "cssnano": "^7.1",
        "postcss": "^8.5",
        "postcss-cli": "^11",
        "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",
        "scss:rtl": "sass src/scss/rtl.scss:assets/css/rtl.css --style=compressed --no-source-map",
        "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/",
        "copy:theme-js": "copyfiles -f src/js/dark-mode.js assets/js/",
        "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"
    }
}
