Add new start/test scripts

This commit is contained in:
Sky Young 2019-10-28 13:02:19 -06:00
parent 8024b466e9
commit 30b84f6c63
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -8,4 +8,4 @@ coverage/
yarn.lock yarn.lock
webpack.*.js webpack.*.js
.DS_Store .DS_Store
tmp tmp*

View File

@ -79,7 +79,9 @@
"test-browser": "NODE_BACKEND=js bmocha --reporter spec test/*.js", "test-browser": "NODE_BACKEND=js bmocha --reporter spec test/*.js",
"test-file": "bmocha --reporter spec", "test-file": "bmocha --reporter spec",
"test-file-browser": "NODE_BACKEND=js bmocha --reporter spec", "test-file-browser": "NODE_BACKEND=js bmocha --reporter spec",
"test-ci": "nyc -a -n 'lib/**/*.js' --reporter=lcov --reporter=text npm run test" "test-ci": "nyc -a -n 'lib/**/*.js' --reporter=lcov --reporter=text npm run test",
"dev": "./bin/fcoin --prefix=\"${PWD}/tmp\" --network=testnet",
"livenet": "./bin/fcoin --prefix=\"${PWD}/tmp\""
}, },
"browser": { "browser": {
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js", "./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",