rev testdapp scripts -- INIT_CWD compat

This commit is contained in:
Michael Bradley, Jr 2018-09-06 22:43:52 -05:00
parent 2b1bdc6a14
commit 373a67b4a3
4 changed files with 13 additions and 9 deletions

View File

@ -3,11 +3,12 @@
"version": "3.2.0-develop",
"description": "Embark is a framework that allows you to easily develop and deploy DApps",
"scripts": {
"lint": "./node_modules/.bin/eslint lib/",
"test": "mocha test/ --no-timeouts --exit",
"testdapp_1": "cd test_apps/test_app/ && npm install && node ../../bin/embark test",
"testdapp_2": "cd test_apps/contracts_app/ && npm install && node ../../bin/embark test",
"fulltest": "npm run lint && npm run test && npm run testdapp_1 && npm run testdapp_2"
"lint": "eslint lib/",
"test": "npm-run-all lint test:*",
"test:embark": "mocha test/ --no-timeouts --exit",
"test:test_app": "cross-env DAPP=\"test_app\" npm run test_dapp",
"test:contracts_app": "cross-env DAPP=\"contracts_app\" npm run test_dapp",
"test_dapp": "cross-env-shell \"cd test_apps/$DAPP && npm install && npm test\""
},
"bin": {
"embark": "./bin/embark"

View File

@ -4,7 +4,8 @@
"description": "",
"main": "Gruntfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"embark": "node ../../bin/embark",
"test": "npm run embark test"
},
"author": "",
"license": "ISC",

View File

@ -4,8 +4,9 @@
"description": "",
"main": "Gruntfile.js",
"scripts": {
"test": "../../bin/embark test",
"coverage": "istanbul report --root .embark --format html"
"coverage": "istanbul report --root .embark --format html",
"embark": "node ../../bin/embark",
"test": "npm run embark test"
},
"author": "",
"license": "ISC",

View File

@ -4,7 +4,8 @@
"description": "",
"main": "Gruntfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"embark": "node ../../bin/embark",
"test": "npm run embark test"
},
"author": "",
"license": "ISC",