generated from 5t3ph/html-sass-jumpstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·42 lines (42 loc) · 1.7 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
42
{
"name": "tdbc-html-sass-jumpstart",
"description": "node-sass jumpstart with stylelint",
"version": "0.1.1",
"main": "public/index.html",
"author": "5t3ph",
"scripts": {
"scss": "node-sass src/sass/style.scss public/css/style.css",
"css": "postcss public/css/*.css -u autoprefixer cssnano -r -m",
"copy:html": "copyfiles -u 1 ./src/*.html ./src/**/*.html public",
"copy:js": "copyfiles -u 1 ./src/js/*.js public",
"copy": "npm run copy:js && npm run copy:html",
"watch:html": "onchange 'src/*.html' 'src/**/*.html' -- npm run copy:html",
"watch:sass": "node-sass --watch src/sass -o public/css",
"watch:js": "onchange 'src/js/*.js' -- npm run copy:js",
"watch": "npm run watch:html & npm run watch:sass & npm run watch:js",
"serve": "browser-sync start --server public --files public --port 1337",
"develop": "npm run copy && npm run scss ; npm run watch & npm run serve",
"build": "npm run copy && npm run scss ; npm run css",
"lint": "stylelint 'src/sass/**/*.scss' 'src/sass/**/**/*.scss' 'src/sass/**/**/**/*.scss'",
"lint:fix": "stylelint --fix 'src/sass/**/*.scss' 'src/sass/**/**/*.scss' 'src/sass/**/**/**/*.scss'",
"bump": "npm --no-git-tag-version version"
},
"dependencies": {
"autoprefixer": "^9.5.0",
"browser-sync": "^2.26.3",
"copyfiles": "^2.1.0",
"cssnano": "^4.1.10",
"node-sass": "^4.11.0",
"onchange": "^7.0.1",
"postcss-cli": "^7.1.1",
"stylelint": "^13.3.3",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.9.3",
"stylelint-selector-bem-pattern": "^2.1.0"
},
"browserslist": [
"last 2 versions"
]
}