-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "faunaflora",
"version": "1.0.0",
"author": "",
"description": "",
"scripts": {
"browsersync": "browser-sync start --directory --server ./public --files ./public/* --startPath index.html",
"clean": "rimraf public/*",
"copy-assets": "cpx \"src/assets/**/*.*\" public/",
"css-compile": "tailwindcss build -i src/tailwind/tailwind.css -c src/tailwind/tailwind.config.js -o public/css/tailwind/tailwind.css",
"css-minified": "tailwindcss build -i src/tailwind/tailwind.css -c src/tailwind/tailwind.config.js -o public/css/tailwind/tailwind.min.css --minify",
"css": "npm-run-all --sequential css-*",
"templates": "pug --pretty -o public/ src/pug/",
"build": "npm-run-all --sequential clean copy-* templates css",
"watch": "npm-run-all build --parallel watch-templates watch-css browsersync",
"watch-templates": "npm run templates -- --watch",
"watch-css": "tailwindcss build -i src/tailwind/tailwind.css -c src/tailwind/tailwind.config.js -o public/css/tailwind/tailwind.min.css --minify --watch"
},
"dependencies": {
"tailwindcss": "^3.0.7"
},
"devDependencies": {
"autoprefixer": "^10.4.0",
"browser-sync": "^2.27.7",
"cpx": "^1.5.0",
"npm-run-all": "^4.1.5",
"pug": "^3.0.2",
"pug-cli": "^1.0.0-alpha6",
"rimraf": "^3.0.2"
}
}