aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-13 23:36:05 +0800
committerFabio Berger <me@fabioberger.com>2018-03-13 23:36:05 +0800
commitc3b4359e8751a9c98a6081659a364fc29e69653d (patch)
tree1b6023cbb741ad986db30ef84c5f459f8ee07038 /packages
parentca25b816fabe15ce1ebc539c0316beba813683b8 (diff)
downloaddexon-0x-contracts-c3b4359e8751a9c98a6081659a364fc29e69653d.tar.gz
dexon-0x-contracts-c3b4359e8751a9c98a6081659a364fc29e69653d.tar.zst
dexon-0x-contracts-c3b4359e8751a9c98a6081659a364fc29e69653d.zip
small fixes
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-utils/src/index.ts1
-rw-r--r--packages/dev-utils/src/monorepo_scripts/postpublish.ts2
-rw-r--r--packages/monorepo-scripts/package.json3
-rw-r--r--packages/monorepo-scripts/tslint.json3
-rw-r--r--packages/react-docs-example/ts/globals.d.ts6
-rw-r--r--packages/react-shared/tsconfig.json2
6 files changed, 10 insertions, 7 deletions
diff --git a/packages/dev-utils/src/index.ts b/packages/dev-utils/src/index.ts
index cc3e668a1..e899ac206 100644
--- a/packages/dev-utils/src/index.ts
+++ b/packages/dev-utils/src/index.ts
@@ -2,4 +2,3 @@ export { RPC } from './rpc';
export { BlockchainLifecycle } from './blockchain_lifecycle';
export { web3Factory } from './web3_factory';
export { constants as devConstants } from './constants';
-export { postpublishUtils } from './postpublish_utils';
diff --git a/packages/dev-utils/src/monorepo_scripts/postpublish.ts b/packages/dev-utils/src/monorepo_scripts/postpublish.ts
index 6bd94e71d..d5fcff9d0 100644
--- a/packages/dev-utils/src/monorepo_scripts/postpublish.ts
+++ b/packages/dev-utils/src/monorepo_scripts/postpublish.ts
@@ -1,4 +1,4 @@
-import { postpublishUtils } from '../postpublish_utils';
+import { postpublishUtils } from '@0xproject/monorepo-scripts';
import * as packageJSON from '../package.json';
diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json
index 09a632c07..42b9d6c55 100644
--- a/packages/monorepo-scripts/package.json
+++ b/packages/monorepo-scripts/package.json
@@ -2,6 +2,8 @@
"name": "@0xproject/monorepo-scripts",
"version": "0.1.12",
"description": "Helper scripts for the monorepo",
+ "main": "lib/index.js",
+ "types": "lib/index.d.ts",
"scripts": {
"build:watch": "tsc -w",
"deps_versions": "node ./lib/deps_versions.js",
@@ -19,7 +21,6 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/monorepo-scripts/README.md",
"devDependencies": {
- "@0xproject/tslint-config": "^0.4.10",
"@types/glob": "^5.0.33",
"@types/node": "^8.0.53",
"shx": "^0.2.2",
diff --git a/packages/monorepo-scripts/tslint.json b/packages/monorepo-scripts/tslint.json
deleted file mode 100644
index ffaefe83a..000000000
--- a/packages/monorepo-scripts/tslint.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": ["@0xproject/tslint-config"]
-}
diff --git a/packages/react-docs-example/ts/globals.d.ts b/packages/react-docs-example/ts/globals.d.ts
new file mode 100644
index 000000000..94e63a32d
--- /dev/null
+++ b/packages/react-docs-example/ts/globals.d.ts
@@ -0,0 +1,6 @@
+declare module '*.json' {
+ const json: any;
+ /* tslint:disable */
+ export default json;
+ /* tslint:enable */
+}
diff --git a/packages/react-shared/tsconfig.json b/packages/react-shared/tsconfig.json
index de87aa45b..687bd1f4e 100644
--- a/packages/react-shared/tsconfig.json
+++ b/packages/react-shared/tsconfig.json
@@ -8,5 +8,5 @@
"*": ["node_modules/@types/*", "*"]
}
},
- "include": ["./src/ts/**/*"]
+ "include": ["./src/**/*"]
}