-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.4 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
32
33
34
{
"name": "app",
"version": "1.0.0",
"private": true,
"license": "UNLICENSED",
"author": "",
"description": "",
"scripts": {
"browsersync": "browser-sync start --directory --server ./public --files ./public/* --startPath index.html",
"clean": "rimraf public/*",
"copy-assets": "cpx \"src/assets/**/*.*\" public/",
"copy-html": "cpx \"src/html/*.html\" 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-*",
"build": "npm-run-all --sequential clean copy-* css",
"watch": "npm-run-all build --parallel watch-templates watch-css browsersync",
"watch-templates": "nodemon --watch ./src/html/ -e html -x \"cpx \"src/html/*.html\" public/\"",
"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",
"nodemon": "^2.0.14",
"rimraf": "^3.0.2"
}
}