-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.72 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
35
36
37
38
39
40
41
{
"name": "newtask",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npm run test:html && npm run test:js",
"test:html": "glob-run nu-html-checker *.html",
"test:js": "jshint",
"init-project": "npm run init:dirs && npm run init:files && npm run init:gitignore && npm run init:npm-install",
"init:dirs": "mkdir -p sass css vendor images js",
"init:files": "touch README.md index.html sass/style.scss js/script.js",
"init:gitignore": "curl https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -o .gitignore",
"init:npm-install": "npm install",
"build": "npm run build:sass && npm run build:autoprefixer && npm run test",
"build:clean": "rm -rf",
"build:sass": "node-sass --output-style compact -o css sass",
"build:sass:dev": "node-sass --output-style expanded --source-map true -o css sass",
"build:autoprefixer": "autoprefixer-cli css/style.css",
"watch": "parallelshell \"npm run watch:sass\" \"npm run watch:autoprefixer\" \"npm run watch:browsersync\" ",
"watch:sass": "node-sass --output-style expanded --source-map true -o css sass --watch",
"watch:autoprefixer": "onchange -d 100 css/style.css -- autoprefixer-cli -o css/style.prefixed.css css/style.css",
"watch:browsersync": "node_modules/.bin/browser-sync start --server --files \"css/*.css\" \"*.html\""
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"autoprefixer-cli": "^1.0.0",
"browser-sync": "^2.18.13",
"glob-run": "^0.1.6",
"node-sass": "^4.7.2",
"nu-html-checker": "^0.1.0",
"onchange": "^3.3.0",
"rimraf": "^2.6.2"
},
"devDependencies": {
"jshint": "^2.9.5",
"parallelshell": "^3.0.2"
}
}