aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-27 06:37:03 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-27 06:37:03 +0800
commitfaf80f85959ce157435f3bd500b00fd33e828084 (patch)
tree0c89b5b6b56edd3dc97758c467952b357c1f6004
parent825911ed89e63f065c1a843ad83fb28ed72bb8ee (diff)
downloaddexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar.gz
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar.bz2
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar.lz
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar.xz
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.tar.zst
dexon-sol-tools-faf80f85959ce157435f3bd500b00fd33e828084.zip
feat: make package private
-rw-r--r--packages/instant/package.json11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json
index d3a85a646..af23af3b9 100644
--- a/packages/instant/package.json
+++ b/packages/instant/package.json
@@ -5,13 +5,10 @@
"node": ">=6.12"
},
"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",
@@ -98,6 +95,6 @@
"webpack-dev-server": "^3.1.9"
},
"publishConfig": {
- "access": "public"
+ "access": "private"
}
}