Fixing pattern string on npm script
This commit is contained in:
parent
4a2244b0cf
commit
9ddae2c2e1
@ -71,8 +71,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prestart": "npm install",
|
"prestart": "npm install",
|
||||||
"pretest": "npm install",
|
"pretest": "npm install",
|
||||||
"banner": "for m in dist/*.css; do echo '/*!\n * Milligram v1.2.0\n * http://milligram.github.io\n *\n * Copyright (c) 2016 CJ Patoilo\n * Licensed under the MIT license\n*/\n' | cat - $m > temp && mv temp $m; done",
|
"banner": "for m in dist/*.css; do echo \"/*!\n * Milligram v1.2.0\n * http://milligram.github.io\n *\n * Copyright (c) 2016 CJ Patoilo\n * Licensed under the MIT license\n*/\n\" | cat - $m > temp && mv temp $m; done",
|
||||||
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers 'last 1 versions' -r dist/*.css",
|
"autoprefixer": "postcss -u autoprefixer --no-map.inline --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
|
||||||
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
|
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
|
||||||
"lint": "sass-lint -c .sasslintrc 'src/*.sass' --verbose --no-exit",
|
"lint": "sass-lint -c .sasslintrc 'src/*.sass' --verbose --no-exit",
|
||||||
"build": "run-s lint sass autoprefixer banner",
|
"build": "run-s lint sass autoprefixer banner",
|
||||||
|
Loading…
Reference in New Issue
Block a user