Added build steps

This commit is contained in:
Jake Howard 2015-12-20 13:38:16 +00:00
parent 55c2937c52
commit cce665ec1f
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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",