Added build steps
This commit is contained in:
parent
55c2937c52
commit
cce665ec1f
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,3 +25,4 @@ build/Release
|
|||
# Dependency directory
|
||||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
|
||||
node_modules
|
||||
build.css
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
"description": "Useful LESS mixins",
|
||||
"main": "index.less",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "npm run build",
|
||||
"build": "lessc --silent index.less build.css && cleancss -d --s0 -o build.css build.css",
|
||||
"clean": "rm -rf node_modules/ build.css"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Reference in a new issue