Added pretest command
This commit is contained in:
parent
508c324eea
commit
1eee0e12c4
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run build",
|
"test": "npm run build",
|
||||||
"build": "lessc --silent index.less build.css",
|
"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",
|
"test": "lessc --silent test.less test.css && cleancss -d --s0 -o test.css test.css",
|
||||||
"clean": "rm -rf node_modules/ build.css test.css"
|
"clean": "rm -rf node_modules/ build.css test.css"
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue