-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
33 lines (33 loc) · 1.33 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
{
"name": "trillo",
"version": "1.0.0",
"description": "Trillo travel app",
"main": "index.js",
"scripts": {
"watch:sass": "node-sass sass/main.scss css/style.css -w",
"devserver": "live-server",
"dev": "npm-run-all --parallel devserver watch:sass",
"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.comp.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
},
"scriptComments": {
"watch:sass": "For dev, actively compiles scss into css files with -watch flag",
"devserver": "live-serves static html file",
"dev": "For dev, concurrently compiles css and live-serves static html file",
"compile:sass": "For build, compiles scss into css files, one time for build",
"prefix:css": "Prefixes CSS in style.concat.css file",
"compress:css": "Compresses style.prefix.css file into style.css file",
"build:css": "Runs build scripts to compile final style.css file"
},
"author": "Connie Tran",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^10.2.5",
"concat": "^1.0.3",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^8.3.1"
}
}