mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Fix django_tailwind
I was missing package.json in git due to a too liberal .gitignore conf. This botched tailwind when I restarted from a fresh git install I never ran into this before b/c tailwind's npm stuff is only necessary during development, not in e.g. localbugsink (because we checkin all outputs too)
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,4 +22,4 @@ db.*.sqlite3
|
||||
|
||||
# node (tailwind)
|
||||
node_modules
|
||||
package*
|
||||
/package*
|
||||
|
||||
1543
theme/static_src/package-lock.json
generated
Normal file
1543
theme/static_src/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
theme/static_src/package.json
Normal file
29
theme/static_src/package.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "theme",
|
||||
"version": "3.6.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 tailwindcss --postcss -i ./src/styles.css -o ../static/css/dist/styles.css --minify",
|
||||
"dev": "cross-env NODE_ENV=development tailwindcss --postcss -i ./src/styles.css -o ../static/css/dist/styles.css -w",
|
||||
"tailwindcss": "node ./node_modules/tailwindcss/lib/cli.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
"@tailwindcss/forms": "^0.5.3",
|
||||
"@tailwindcss/line-clamp": "^0.4.4",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"cross-env": "^7.0.3",
|
||||
"postcss": "^8.4.24",
|
||||
"postcss-import": "^15.1.0",
|
||||
"postcss-nested": "^6.0.1",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"rimraf": "^5.0.1",
|
||||
"tailwindcss": "^3.3.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user