Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2020-09-15 14:20:41 +0300
committerthingsym <thingsym@gmail.com>2020-09-15 14:20:41 +0300
commitc4881b8accce6c61d8561ca571bf7159f34de90a (patch)
treecc2e6708b2ad772b26bde4b7eebeb3c2764c1bdf
parent6a1c4e711a7d6504629bdcaff753981e27c67144 (diff)
chore: fix npm scripts
-rw-r--r--package.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/package.json b/package.json
index 451c537..ce231ea 100644
--- a/package.json
+++ b/package.json
@@ -101,20 +101,20 @@
"scripts": {
"default": "gulp --tasks",
"gulp": "gulp",
- "build": "run-p \"build:*\"",
+ "build": "run-p build:*",
"build:js": "npm-run-all -p webpack",
- "build:css": "run-p \"sass:**\"",
+ "build:css": "run-p sass:**",
"webpack": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
"sass:style": "node-sass src/scss/theme.scss static/css/theme.css --output-style expanded && postcss --use autoprefixer --no-map -r static/css/theme.css",
- "sass:style:minify": "node-sass src/scss/theme.scss static/css/theme.min.css --output-style compressed && postcss --use autoprefixer --no-map -r static/css/theme.min.css",
+ "sass:style:minify": "node-sass src/scss/theme.scss static/css/theme.min.css --output-style expanded && postcss --use autoprefixer --use cssnano --no-map -r static/css/theme.min.css",
"sass:chroma": "node-sass src/scss/chroma.scss static/css/chroma.css --output-style expanded && postcss --use autoprefixer --no-map -r static/css/chroma.css",
- "sass:chroma:minify": "node-sass src/scss/chroma.scss static/css/chroma.min.css --output-style compressed && postcss --use autoprefixer --no-map -r static/css/chroma.min.css",
- "lint": "run-p \"lint:*\"",
+ "sass:chroma:minify": "node-sass src/scss/chroma.scss static/css/chroma.min.css --output-style expanded && postcss --use autoprefixer --use cssnano --no-map -r static/css/chroma.min.css",
+ "lint": "run-p lint:*",
"lint:es": "eslint static/js/bundle.js",
"lint:es:fix": "eslint static/js/bundle.js --fix",
"lint:css": "stylelint static/css/*.css css/**/*.css !static/css/*.min.css !css/**/*.min.css",
"lint:scss": "stylelint src/scss/*.scss src/scss/**/*.scss",
- "watch": "run-p \"watch:*\"",
+ "watch": "run-p watch:*",
"watch:css": "chokidar \"src/scss/*.scss\" \"src/scss/**/*.scss\" -c \"npm run build:css\" --initial --polling",
"watch:js": "chokidar \"src/js/*.js\" \"src/js/**/*.js\" -c \"npm run build:js\" --initial --polling"
}