adding watch
This commit is contained in:
parent
0148b7d680
commit
cff21abfb0
8
Makefile
8
Makefile
@ -152,12 +152,18 @@ out/vcd.wasm: $(WASM_MAIN) $(CPP_FILES) $(HPP_FILES) Makefile
|
||||
|
||||
|
||||
.PHONY: all build watch dev start test pretest lint jestc copydist cleandist
|
||||
.PHONY: test
|
||||
.PHONY: test testonly
|
||||
|
||||
|
||||
watch:
|
||||
npm run watch
|
||||
|
||||
test:
|
||||
npm run test
|
||||
|
||||
testonly:
|
||||
npm run testonly
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf out/*
|
||||
|
@ -5,6 +5,8 @@
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
"test": "eslint bin lib && nyc -r=text -r=lcov mocha",
|
||||
"testonly": "nyc -r=text -r=lcov mocha",
|
||||
"watch": "mocha --watch",
|
||||
"install": "node bin/build.js",
|
||||
"prepare": "node bin/build.js"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user