368aaa44e3
This produces slightly smaller files than sass does when minimizing, is also faster at it, and doesn't make changes that could effect the behavior of the CSS
32 lines
1.3 KiB
JSON
32 lines
1.3 KiB
JSON
{
|
|
"name": "antcms",
|
|
"description": "A simple CMS built with PHP and Markdown",
|
|
"scripts": {
|
|
"build": "npm-run-all compile-bs-css compile-tw-css min-bs-css min-tw-css",
|
|
"compile-bs-css": "sass --load-path=node_modules --no-source-map src/Themes/Bootstrap/Assets/styles.scss src/Themes/Bootstrap/Assets/Dist/Bootstrap.min.css",
|
|
"compile-tw-css": "npx tailwindcss -i ./src/Themes/Default/Assets/tailwind.css -o ./src/Themes/Default/Assets/Dist/tailwind.css",
|
|
"min-bs-css": "lightningcss --minify --browserslist ./src/Themes/Bootstrap/Assets/Dist/Bootstrap.min.css -o ./src/Themes/Bootstrap/Assets/Dist/Bootstrap.min.css",
|
|
"min-tw-css": "lightningcss --minify --browserslist ./src/Themes/Default/Assets/Dist/tailwind.css -o ./src/Themes/Default/Assets/Dist/tailwind.css"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/AntCMS-org/AntCMS.git"
|
|
},
|
|
"author": "BelleNottelling",
|
|
"bugs": {
|
|
"url": "https://github.com/AntCMS-org/AntCMS/issues"
|
|
},
|
|
"homepage": "https://github.com/AntCMS-org/AntCMS#readme",
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"@tailwindcss/typography": "^0.5.9",
|
|
"lightningcss-cli": "^1.21.5",
|
|
"npm-run-all": "^4.1.5",
|
|
"sass": "^1.63.2",
|
|
"tailwindcss": "^3.3.2"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "^5.3.0"
|
|
}
|
|
}
|