aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 19:07:55 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 04:48:51 +0800
commit6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5 (patch)
tree2785e86a85b0d86dfa41bd89108f33f75bd453ab
parent2b1dc7c266afe18b00da43ed43f72f414809f3a2 (diff)
downloaddexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar.gz
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar.bz2
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar.lz
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar.xz
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.tar.zst
dexon-sol-tools-6d6688dddaecac94eb87f42dc5e4861b6ad6b4b5.zip
Rename build:commonjs:dev to build:commonjs
-rw-r--r--package.json7
1 files changed, 3 insertions, 4 deletions
diff --git a/package.json b/package.json
index 4c8eb20f4..83931611d 100644
--- a/package.json
+++ b/package.json
@@ -13,8 +13,8 @@
"types": "lib/src/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
- "build": "run-p build:*:prod",
- "prepublishOnly": "run-p build:umd:prod build:commonjs:dev",
+ "build": "run-p build:umd:prod build:commonjs",
+ "prepublishOnly": "run-p build",
"postpublish": "run-s release docs:json upload_docs_json",
"release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js",
"upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json",
@@ -29,10 +29,9 @@
"docs:generate": "typedoc --out docs .",
"docs:open": "opn docs/index.html",
"clean": "shx rm -rf _bundles lib test_temp",
- "build:dev": "npm run clean && run-p build:*:dev",
"build:umd:dev": "webpack",
"build:umd:prod": "NODE_ENV=production webpack",
- "build:commonjs:dev": "tsc; copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;",
+ "build:commonjs": "tsc; copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts;",
"test:commonjs": "run-s build:commonjs:dev run_mocha",
"pretest:umd": "run-s clean build:*:dev",
"substitute_umd_bundle": "npm run remove_src_files_not_used_by_tests; shx mv _bundles/* lib/src",