From cce665ec1fdf390eb25ef37770ecf5bed84a49a2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 20 Dec 2015 13:38:16 +0000 Subject: [PATCH] Added build steps --- .gitignore | 1 + package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 123ae94..ff20780 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/package.json b/package.json index f3c5246..e2b8406 100644 --- a/package.json +++ b/package.json @@ -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",