mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
commit
a2d5898048
@ -33,6 +33,7 @@
|
|||||||
".gitignore",
|
".gitignore",
|
||||||
".npmignore",
|
".npmignore",
|
||||||
".travis.yml",
|
".travis.yml",
|
||||||
|
".versions",
|
||||||
"bower.json",
|
"bower.json",
|
||||||
"changelog.md",
|
"changelog.md",
|
||||||
"component.json",
|
"component.json",
|
||||||
@ -61,10 +62,10 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"banner": "for m in dist/*.css; do echo '/*!\n * Milligram v1.1.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.1.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",
|
||||||
"sass": "node-sass --output-style expanded src/milligram.sass dist/milligram.css && node-sass --output-style compressed src/milligram.sass dist/milligram.min.css",
|
|
||||||
"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",
|
||||||
"build": "npm-run-all lint sass autoprefixer banner",
|
"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 .sass-lint.yml 'src/*.sass' --verbose --no-exit",
|
"lint": "sass-lint -c .sasslintrc 'src/*.sass' --verbose --no-exit",
|
||||||
|
"build": "npm-run-all sass autoprefixer banner",
|
||||||
"watch": "onchange src -- npm run build",
|
"watch": "onchange src -- npm run build",
|
||||||
"serve": "browser-sync start -s test --ss dist -f dist",
|
"serve": "browser-sync start -s test --ss dist -f dist",
|
||||||
"start": "npm-run-all -p watch serve",
|
"start": "npm-run-all -p watch serve",
|
||||||
|
Loading…
Reference in New Issue
Block a user