From ea8b0bc19219f6f931e3be757c25743c2c828b2e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 6 Feb 2022 10:28:10 +0100 Subject: Added checkbox and switch --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 2d6bba6..b19ffa4 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,14 @@ "private": true, "sideEffects": false, "scripts": { - "build": "npm run build:app && npm run build:style && npm run build:assets", + "build": "npm run build:app && npm run build:style && npm run build:icons && npm run build:assets", "build:assets": "cp -r static/* public/", "build:app": "pug tpl/index.pug -p tpl --out public/", + "build:icons": "node node_modules/iro-icons/scripts/create_sprite.js check public/icons.svg", "build:style": "sass --load-path=node_modules src/index.scss public/style.css", "lint:style": "stylelint \"src/**/*.scss\"", - "fix:style": "stylelint \"src/**/*.scss\" --fix" + "fix:style": "stylelint \"src/**/*.scss\" --fix", + "serve": "python -m http.server --bind 127.0.0.1 --directory public 8000" }, "dependencies": { "include-media": "^1.4.9", @@ -26,6 +28,7 @@ "pug-cli": "^1.0.0-alpha6", "sass": "^1.28.0", "stylelint": "^14.3.0", - "stylelint-config-sass-guidelines": "^9.0.1" + "stylelint-config-sass-guidelines": "^9.0.1", + "svg-sprite": "^1.5.4" } } -- cgit v1.3.1