Files
bugsink/theme/static_src/package.json
Klaas van Schelven f51bdb487e Tailwind 3 => 4 (and django-tailwind => 4.2)
Applied a version of the instructions here:
https://github.com/timonweb/django-tailwind/issues/229

and ran most of the "original build" instructions
2025-09-04 13:17:35 +02:00

27 lines
781 B
JSON

{
"name": "theme",
"version": "4.2.0",
"description": "",
"scripts": {
"start": "npm run dev",
"build": "npm run build:clean && npm run build:tailwind",
"build:clean": "rimraf ../static/css/dist",
"build:tailwind": "cross-env NODE_ENV=production postcss ./src/styles.css -o ../static/css/dist/styles.css --minify",
"dev": "cross-env NODE_ENV=development postcss ./src/styles.css -o ../static/css/dist/styles.css --watch"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@tailwindcss/postcss": "^4.1.11",
"cross-env": "^7.0.3",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-nested": "^7.0.2",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.11"
}
}