understrap/package.json

82 lines
4.0 KiB
JSON

{
"name": "understrap",
"version": "1.1.0",
"description": "WordPress Theme framework",
"main": "index.js",
"scripts": {
"bs": "browser-sync start --config src/build/browser-sync.config.js",
"css": "npm-run-all css-compile css-postcss css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/theme.scss:css/theme.css src/sass/custom-editor-style.scss:css/custom-editor-style.css",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\" \"!css/*-bootstrap4.css\"",
"css-postcss": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\" \"!css/*-bootstrap4.css\"",
"css-bs4": "npm-run-all css-compile-bs4 css-postcss-bs4 css-minify-bs4",
"css-compile-bs4": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/theme-bootstrap4.scss:css/theme-bootstrap4.css src/sass/custom-editor-style-bootstrap4.scss:css/custom-editor-style-bootstrap4.css",
"css-minify-bs4": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\" \"!css/theme.css\" \"!css/custom-editor-style.css\"",
"css-postcss-bs4": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\" \"!css/theme.css\" \"!css/custom-editor-style.css\" -- BS4",
"js": "npm-run-all js-compile js-minify",
"js-compile": "rollup --config src/build/rollup.config.js --sourcemap",
"js-minify": "terser --config-file src/build/terser.config.json --output js/theme.min.js js/theme.js",
"js-bs4": "npm-run-all js-compile-bs4 js-minify-bs4",
"js-compile-bs4": "npm run js-compile -- BS4",
"js-minify-bs4": "terser --config-file src/build/terser.config-bs4.json --output js/theme-bootstrap4.min.js js/theme-bootstrap4.js",
"watch": "npm-run-all --parallel watch-run-*",
"watch-bs": "npm-run-all --parallel bs watch-run-*",
"watch-run-css": "nodemon --watch src/sass/ --ext scss --exec \"npm-run-all css\"",
"watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\"",
"copy-assets": "node src/build/copy-assets.js",
"dist": "npm-run-all --parallel css js css-bs4 js-bs4",
"dist-build": "node src/build/dist-build.js",
"dist-clean": "node src/build/dist-clean.js"
},
"babel": {
"extends": "./src/build/babel.config.js"
},
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/understrap/understrap.git"
},
"keywords": [
"wordpress",
"theme",
"framework",
"bootstrap",
"underscores"
],
"author": "The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors)",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/understrap/understrap/issues"
},
"homepage": "https://understrap.com",
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@popperjs/core": "^2.11.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^4.0.0",
"autoprefixer": "^10.4.2",
"bootstrap": "^5.1.3",
"bootstrap4": "npm:bootstrap@^4.6.0",
"browser-sync": "^2.27.7",
"browserslist": "^4.19.3",
"caniuse-lite": "^1.0.30001312",
"clean-css-cli": "^5.5.2",
"font-awesome": "^4.7.0",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"popper.js": "^1.16.1",
"postcss": "^8.4.7",
"postcss-cli": "^9.1.0",
"postcss-understrap-palette-generator": "git+https://github.com/understrap/postcss-understrap-palette-generator.git",
"rollup": "^2.68.0",
"sass": "^1.49.9",
"terser": "^5.11.0"
}
}