mirror of https://github.com/embarklabs/embark.git
rev testdapp scripts -- INIT_CWD compat
This commit is contained in:
parent
2b1bdc6a14
commit
373a67b4a3
11
package.json
11
package.json
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue