feat: added webpack, stimulus and turbo
This commit is contained in:
parent
f3b60adb21
commit
93939ff054
8 changed files with 62 additions and 10 deletions
15
package.json
15
package.json
|
@ -2,9 +2,12 @@
|
|||
"name": "kirby-moin",
|
||||
"version": "1.0.0",
|
||||
"description": "Watch and build tailwindcss",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"watch": "npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content './site/**/*.php' -w",
|
||||
"build": "npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content './site/**/*.php' -m"
|
||||
"watch": "concurrently 'npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content \"./site/**/*.php\" -w' 'webpack --watch'",
|
||||
"watch:css": "npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content \"./site/**/*.php\" -w",
|
||||
"watch:js": "webpack --watch",
|
||||
"build": "concurrently 'npx @tailwindcss/cli -i ./src/css/tailwind.css -o ./public/css/app.css --content \"./site/**/*.php\" -m' 'webpack'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -13,6 +16,14 @@
|
|||
"author": "Stephan Plöhn",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@hotwired/stimulus": "^3.2.2",
|
||||
"@hotwired/stimulus-webpack-helpers": "^1.0.1",
|
||||
"@hotwired/turbo": "^8.0.13",
|
||||
"concurrently": "^9.2.1",
|
||||
"tailwindcss": "^4.1.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"webpack": "^5.101.3",
|
||||
"webpack-cli": "^6.0.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue