diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/package.json b/package.json index 2d6bba6..b19ffa4 100644 --- a/package.json +++ b/package.json | |||
@@ -8,12 +8,14 @@ | |||
8 | "private": true, | 8 | "private": true, |
9 | "sideEffects": false, | 9 | "sideEffects": false, |
10 | "scripts": { | 10 | "scripts": { |
11 | "build": "npm run build:app && npm run build:style && npm run build:assets", | 11 | "build": "npm run build:app && npm run build:style && npm run build:icons && npm run build:assets", |
12 | "build:assets": "cp -r static/* public/", | 12 | "build:assets": "cp -r static/* public/", |
13 | "build:app": "pug tpl/index.pug -p tpl --out public/", | 13 | "build:app": "pug tpl/index.pug -p tpl --out public/", |
14 | "build:icons": "node node_modules/iro-icons/scripts/create_sprite.js check public/icons.svg", | ||
14 | "build:style": "sass --load-path=node_modules src/index.scss public/style.css", | 15 | "build:style": "sass --load-path=node_modules src/index.scss public/style.css", |
15 | "lint:style": "stylelint \"src/**/*.scss\"", | 16 | "lint:style": "stylelint \"src/**/*.scss\"", |
16 | "fix:style": "stylelint \"src/**/*.scss\" --fix" | 17 | "fix:style": "stylelint \"src/**/*.scss\" --fix", |
18 | "serve": "python -m http.server --bind 127.0.0.1 --directory public 8000" | ||
17 | }, | 19 | }, |
18 | "dependencies": { | 20 | "dependencies": { |
19 | "include-media": "^1.4.9", | 21 | "include-media": "^1.4.9", |
@@ -26,6 +28,7 @@ | |||
26 | "pug-cli": "^1.0.0-alpha6", | 28 | "pug-cli": "^1.0.0-alpha6", |
27 | "sass": "^1.28.0", | 29 | "sass": "^1.28.0", |
28 | "stylelint": "^14.3.0", | 30 | "stylelint": "^14.3.0", |
29 | "stylelint-config-sass-guidelines": "^9.0.1" | 31 | "stylelint-config-sass-guidelines": "^9.0.1", |
32 | "svg-sprite": "^1.5.4" | ||
30 | } | 33 | } |
31 | } | 34 | } |