feat: add postcss and tailwindcss build scripts
This commit is contained in:
1 parent
105313b5b0
commit
57fb3c3091
1 file changed
+8
-15
+8
-15
@@ -1,23 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "your-project-name",
|
"name": "behind-the-desk",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "A simple web application for sharing desk moments and finds.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "postcss src/styles.css -o dist/output.css && tailwindcss -i src/styles.css -o dist/output.css --watch"
|
||||||
"build": "vite build",
|
|
||||||
"preview": "vite preview",
|
|
||||||
"css:dev": "npx postcss src/styles.css -o dist/styles.css --watch",
|
|
||||||
"css:build": "npx postcss src/styles.css -o dist/styles.css"
|
|
||||||
},
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^10.4.14",
|
"autoprefixer": "^10.4.13",
|
||||||
"postcss": "^8.4.27",
|
"postcss": "^8.4.19",
|
||||||
"postcss-cli": "^10.1.0",
|
"tailwindcss": "^3.2.4"
|
||||||
"tailwindcss": "^3.3.3",
|
|
||||||
"vite": "^6.3.3"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bulma": "^1.0.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user