diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-05 16:00:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 16:00:51 +0800 |
commit | 54b8e1be897893dd348a3b335bc0cef419d29938 (patch) | |
tree | 4bab35c8ff652841a586ddf4c9b9ec83920c58c7 /packages/0x.js/package.json | |
parent | 70858603ed37de24ae47978a191b3f188f450182 (diff) | |
parent | 44b62852682df3095890246506308259adb05542 (diff) | |
download | dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar.gz dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar.bz2 dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar.lz dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar.xz dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.tar.zst dexon-sol-tools-54b8e1be897893dd348a3b335bc0cef419d29938.zip |
Merge pull request #658 from 0xProject/dont-automatically-rebuild-for-tests
Don't automatically rebuild when running yarn test
Diffstat (limited to 'packages/0x.js/package.json')
-rw-r--r-- | packages/0x.js/package.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/0x.js/package.json b/packages/0x.js/package.json index 1324a73d1..4de046a07 100644 --- a/packages/0x.js/package.json +++ b/packages/0x.js/package.json @@ -17,17 +17,15 @@ "scripts": { "watch": "tsc -w", "prebuild": "run-s clean generate_contract_wrappers", - "build": "run-p build:umd:prod build:commonjs; exit 0;", + "build": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", "generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'", "lint": "tslint --project .", "test:circleci": "run-s test:coverage", - "test": "run-s clean test:commonjs", + "test": "yarn run_mocha", + "rebuild-and-test": "run-s build test", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "clean": "shx rm -rf _bundles lib test_temp scripts src/contract_wrappers/generated", - "build:umd:prod": "NODE_ENV=production webpack", - "build:commonjs": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts", - "test:commonjs": "run-s build:commonjs run_mocha", "run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit", "manual:postpublish": "yarn build; node ./scripts/postpublish.js", "docs:stage": "node scripts/stage_docs.js", |