Skip to content
Snippets Groups Projects
Commit ac7bfb05 authored by Jure's avatar Jure
Browse files

Move Makefile functionality into package.json

parent 3b0d06a1
No related branches found
No related tags found
No related merge requests found
TESTS = test/*.js
test:
@NODE_ENV=test ./node_modules/.bin/mocha $(TESTS) -R nyan
.PHONY: test
......@@ -7,7 +7,7 @@
"build": "webpack --colors --config ./webpack/webpack.prod.config.js",
"dev": "npm run buildDev && NODE_ENV=dev LOADER=hot node bin/www",
"buildDev": "webpack --no-info --colors --config ./webpack/webpack.dev.config.js",
"test": "make test",
"test": "NODE_ENV=test ./node_modules/.bin/mocha test/*.js -R nyan",
"eslint": "eslint"
},
"dependencies": {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment