diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-12-01 04:36:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-01 04:36:22 +0800 |
commit | f496096ce154e51ae0317cc91fd55d062eb6ec4f (patch) | |
tree | d1f6ea052599375e657e7354f50ecabdaa24daff /packages/instant/package.json | |
parent | ca22d87290fc176488fae7da3f179486340e5c79 (diff) | |
parent | fc2055cd93a5e847947dad10073dd0d29bfb9e29 (diff) | |
download | dexon-0x-contracts-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.gz dexon-0x-contracts-f496096ce154e51ae0317cc91fd55d062eb6ec4f.tar.zst dexon-0x-contracts-f496096ce154e51ae0317cc91fd55d062eb6ec4f.zip |
Merge pull request #1348 from 0xProject/feature/instant/cdn-setup
[instant] Remove commonjs bundle, productionize UMD bundle
Diffstat (limited to 'packages/instant/package.json')
-rw-r--r-- | packages/instant/package.json | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json index c75e2408d..4f6e6d5a4 100644 --- a/packages/instant/package.json +++ b/packages/instant/package.json @@ -6,15 +6,11 @@ }, "private": true, "description": "0x Instant React Component", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "umd/instant.js", + "private": true, "scripts": { - "build": "yarn build:all", - "build:all": "run-p build:umd:prod build:commonjs", - "build:umd:prod": "webpack --mode production", - "build:commonjs": "tsc -b", + "build": "webpack --mode production", "build:ci": "yarn build", - "watch_without_deps": "tsc -w", "dev": "webpack-dev-server --mode development", "lint": "tslint --format stylish --project .", "test": "jest", @@ -24,6 +20,7 @@ "clean": "shx rm -rf lib coverage scripts", "deploy_dogfood": "discharge deploy -c .dogfood.discharge.json", "deploy_staging": "discharge deploy -c .staging.discharge.json", + "deploy_production": "discharge deploy -c .production.discharge.json", "manual:postpublish": "yarn build; node ./scripts/postpublish.js" }, "config": { @@ -99,6 +96,6 @@ "webpack-dev-server": "^3.1.9" }, "publishConfig": { - "access": "public" + "access": "private" } } |