-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.49 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
{
"name": "task-runner",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"init-project": "npm install && npm-run-all init:*",
"init:dirs": "mkdirp 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",
"test": "npm-run-all test:*",
"test:html": "globstar nu-html-checker *.html",
"test:js": "eslint js/ --fix",
"test:scss": "stylelint sass/",
"build": "npm-run-all build:* test",
"build:sass": "node-sass --output-style compact -o css sass",
"build:autoprefixer": "autoprefixer-cli css/style.css",
"build-dev": "npm-run-all build-dev:sass build:autoprefixer",
"build-dev:sass": "node-sass --output-style expanded --source-map true -o css sass",
"watch": "npm-run-all build:* build-dev -p watch:*",
"watch:browsersync": "browser-sync start --server --files \"css/*.css\" \"*.html\" \"js/*.js\"",
"watch:sassprefixer": "onchange sass/*.scss -- npm run build-dev"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"autoprefixer-cli": "^1.0.0",
"browser-sync": "^2.26.7",
"eslint": "^6.6.0",
"globstar": "^1.0.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.13.0",
"npm-run-all": "^4.1.5",
"nu-html-checker": "^0.1.0",
"onchange": "^6.1.0",
"stylelint": "^11.1.1",
"stylelint-scss": "^3.12.1"
}
}