-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 914 Bytes
/
package.json
File metadata and controls
23 lines (23 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "ruine-dev",
"version": "1.0.0",
"main": "index.js",
"author": "Faqih Muntashir",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^10.3.7",
"cross-env": "^7.0.3",
"live-server": "^1.2.1",
"minify": "^8.0.3",
"postcss": "^8.3.11",
"tailwindcss": "^2.2.17"
},
"scripts": {
"serve": "live-server src",
"style": "tailwindcss --postcss -i ./src/styles/tailwind.css -o ./src/styles/index.css --watch",
"minifyJs": "minify ./src/scripts/index.js > ./dist/scripts/index.js",
"minifyHtml": "minify ./src/index.html > ./dist/index.html",
"style:prod": "cross-env NODE_ENV=production tailwindcss --postcss -i ./src/styles/tailwind.css -o ./dist/styles/index.css --minify",
"prod": "npm run minifyJs && npm run minifyHtml && npm run style:prod && cross-env cp ./src/images ./dist/ -r && cross-env cp ./src/styles/fonts ./dist/styles/ -r"
}
}