generated from arthaud-proust-pro/hugo-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
22 lines (22 loc) · 980 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "concurrently --names \"HUGO,TAILWIND\" -c \"bgCyan.bold,bgMagenta.bold\" \"npm run tailwind\" \"npm run hugo\"",
"hugo": "hugo serve --disableFastRender",
"hugo:local": "IP=$(ipconfig getifaddr en0) && hugo serve --disableFastRender --bind=$IP --baseURL=http://$IP:1313",
"hugo:build": "hugo --gc --minify",
"tailwind": "npx tailwindcss -i ./assets/css/styles.css -o ./assets/css/output/styles.css --watch",
"tailwind:build": "npx tailwindcss -i ./assets/css/styles.css -o ./assets/css/output/styles.css --minify",
"build": "npm run tailwind:build && npm run hugo:build",
"cms": "npx decap-server"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^4.x",
"autoprefixer": "^10.x",
"concurrently": "^9.1.2",
"postcss": "^8.x",
"postcss-cli": "^10.x",
"tailwindcss": "^3.2.1"
}
}