Added pretest command

This commit is contained in:
Jake Howard 2015-12-20 14:06:13 +00:00
parent 508c324eea
commit 1eee0e12c4

View File

@ -6,6 +6,7 @@
"scripts": {
"test": "npm run build",
"build": "lessc --silent index.less build.css",
"pretest": "npm run build",
"test": "lessc --silent test.less test.css && cleancss -d --s0 -o test.css test.css",
"clean": "rm -rf node_modules/ build.css test.css"
},