diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-13 22:29:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-13 22:29:12 +0800 |
commit | ca25b816fabe15ce1ebc539c0316beba813683b8 (patch) | |
tree | 0e28bbc819cfccda1789192628c365ea54328103 /packages/react-docs | |
parent | df1968157c13a7bbe2e512cbc924190a414e6738 (diff) | |
download | dexon-0x-contracts-ca25b816fabe15ce1ebc539c0316beba813683b8.tar.gz dexon-0x-contracts-ca25b816fabe15ce1ebc539c0316beba813683b8.tar.zst dexon-0x-contracts-ca25b816fabe15ce1ebc539c0316beba813683b8.zip |
move scripts to monorepro-scripts
Diffstat (limited to 'packages/react-docs')
-rw-r--r-- | packages/react-docs/package.json | 103 | ||||
-rw-r--r-- | packages/react-docs/scripts/postpublish.js | 5 | ||||
-rw-r--r-- | packages/react-docs/src/components/badge.tsx (renamed from packages/react-docs/src/ts/components/badge.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/comment.tsx (renamed from packages/react-docs/src/ts/components/comment.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/custom_enum.tsx (renamed from packages/react-docs/src/ts/components/custom_enum.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/documentation.tsx (renamed from packages/react-docs/src/ts/components/documentation.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/enum.tsx (renamed from packages/react-docs/src/ts/components/enum.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/event_definition.tsx (renamed from packages/react-docs/src/ts/components/event_definition.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/interface.tsx (renamed from packages/react-docs/src/ts/components/interface.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/method_block.tsx (renamed from packages/react-docs/src/ts/components/method_block.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/method_signature.tsx (renamed from packages/react-docs/src/ts/components/method_signature.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/source_link.tsx (renamed from packages/react-docs/src/ts/components/source_link.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/type.tsx (renamed from packages/react-docs/src/ts/components/type.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/components/type_definition.tsx (renamed from packages/react-docs/src/ts/components/type_definition.tsx) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/docs_info.ts (renamed from packages/react-docs/src/ts/docs_info.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/globals.d.ts (renamed from packages/react-docs/src/ts/globals.d.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/index.ts (renamed from packages/react-docs/src/ts/index.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/monorepo_scripts/postpublish.ts | 6 | ||||
-rw-r--r-- | packages/react-docs/src/types.ts (renamed from packages/react-docs/src/ts/types.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/utils/constants.ts (renamed from packages/react-docs/src/ts/utils/constants.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/utils/doxity_utils.ts (renamed from packages/react-docs/src/ts/utils/doxity_utils.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/utils/typedoc_utils.ts (renamed from packages/react-docs/src/ts/utils/typedoc_utils.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/src/utils/utils.ts (renamed from packages/react-docs/src/ts/utils/utils.ts) | 0 | ||||
-rw-r--r-- | packages/react-docs/tsconfig.json | 2 |
24 files changed, 60 insertions, 56 deletions
diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index eb76fe47e..a3e6b55d8 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -1,52 +1,55 @@ { - "name": "@0xproject/react-docs", - "version": "0.0.1", - "description": "React documentation component for rendering TypeDoc & Doxity generated JSON", - "main": "lib/index.js", - "types": "lib/index.d.ts", - "scripts": { - "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'", - "build": "tsc", - "build:watch": "tsc -w", - "clean": "shx rm -rf lib" - }, - "author": "Fabio Berger", - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/0xProject/0x-monorepo/issues" - }, - "homepage": "https://github.com/0xProject/0x-monorepo/packages/react-docs/README.md", - "repository": { - "type": "git", - "url": "https://github.com/0xProject/0x-monorepo.git" - }, - "devDependencies": { - "@0xproject/tslint-config": "^0.4.9", - "@types/lodash": "^4.14.86", - "@types/material-ui": "0.18.0", - "@types/node": "^8.0.53", - "@types/react": "^15.0.15", - "@types/react-dom": "^0.14.23", - "@types/react-scroll": "0.0.31", - "@types/react-tap-event-plugin": "0.0.30", - "shx": "^0.2.2", - "tslint": "^5.9.1", - "typescript": "2.7.1" - }, - "dependencies": { - "@0xproject/react-shared": "^0.0.1", - "basscss": "^8.0.3", - "compare-versions": "^3.0.1", - "lodash": "^4.17.4", - "material-ui": "^0.17.1", - "react": "15.6.1", - "react-dom": "15.6.1", - "react-markdown": "^3.2.2", - "react-scroll": "^1.5.2", - "react-tap-event-plugin": "^2.0.1", - "react-tooltip": "^3.2.7" - }, - "publishConfig": { - "access": "public" - } + "name": "@0xproject/react-docs", + "version": "0.0.1", + "description": "React documentation component for rendering TypeDoc & Doxity generated JSON", + "main": "lib/index.js", + "types": "lib/index.d.ts", + "scripts": { + "lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'", + "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", + "build:watch": "tsc -w", + "clean": "shx rm -rf lib scripts" + }, + "author": "Fabio Berger", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/0xProject/0x-monorepo/issues" + }, + "homepage": "https://github.com/0xProject/0x-monorepo/packages/react-docs/README.md", + "repository": { + "type": "git", + "url": "https://github.com/0xProject/0x-monorepo.git" + }, + "devDependencies": { + "@0xproject/dev-utils": "^0.2.1", + "@0xproject/monorepo-scripts": "^0.1.12", + "@0xproject/tslint-config": "^0.4.9", + "@types/lodash": "^4.14.86", + "@types/material-ui": "0.18.0", + "@types/node": "^8.0.53", + "@types/react": "^15.0.15", + "@types/react-dom": "^0.14.23", + "@types/react-scroll": "0.0.31", + "@types/react-tap-event-plugin": "0.0.30", + "copyfiles": "^1.2.0", + "shx": "^0.2.2", + "tslint": "^5.9.1", + "typescript": "2.7.1" + }, + "dependencies": { + "@0xproject/react-shared": "^0.0.1", + "basscss": "^8.0.3", + "compare-versions": "^3.0.1", + "lodash": "^4.17.4", + "material-ui": "^0.17.1", + "react": "15.6.1", + "react-dom": "15.6.1", + "react-markdown": "^3.2.2", + "react-scroll": "^1.5.2", + "react-tap-event-plugin": "^2.0.1", + "react-tooltip": "^3.2.7" + }, + "publishConfig": { + "access": "public" + } } diff --git a/packages/react-docs/scripts/postpublish.js b/packages/react-docs/scripts/postpublish.js deleted file mode 100644 index 639656c7e..000000000 --- a/packages/react-docs/scripts/postpublish.js +++ /dev/null @@ -1,5 +0,0 @@ -const postpublish_utils = require('../../../scripts/postpublish_utils'); -const packageJSON = require('../package.json'); - -const subPackageName = packageJSON.name; -postpublish_utils.standardPostPublishAsync(subPackageName); diff --git a/packages/react-docs/src/ts/components/badge.tsx b/packages/react-docs/src/components/badge.tsx index b342f2dca..b342f2dca 100644 --- a/packages/react-docs/src/ts/components/badge.tsx +++ b/packages/react-docs/src/components/badge.tsx diff --git a/packages/react-docs/src/ts/components/comment.tsx b/packages/react-docs/src/components/comment.tsx index 0d63d4d31..0d63d4d31 100644 --- a/packages/react-docs/src/ts/components/comment.tsx +++ b/packages/react-docs/src/components/comment.tsx diff --git a/packages/react-docs/src/ts/components/custom_enum.tsx b/packages/react-docs/src/components/custom_enum.tsx index deb33ff1d..deb33ff1d 100644 --- a/packages/react-docs/src/ts/components/custom_enum.tsx +++ b/packages/react-docs/src/components/custom_enum.tsx diff --git a/packages/react-docs/src/ts/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx index b46358159..b46358159 100644 --- a/packages/react-docs/src/ts/components/documentation.tsx +++ b/packages/react-docs/src/components/documentation.tsx diff --git a/packages/react-docs/src/ts/components/enum.tsx b/packages/react-docs/src/components/enum.tsx index 37f82f26e..37f82f26e 100644 --- a/packages/react-docs/src/ts/components/enum.tsx +++ b/packages/react-docs/src/components/enum.tsx diff --git a/packages/react-docs/src/ts/components/event_definition.tsx b/packages/react-docs/src/components/event_definition.tsx index 67729ac87..67729ac87 100644 --- a/packages/react-docs/src/ts/components/event_definition.tsx +++ b/packages/react-docs/src/components/event_definition.tsx diff --git a/packages/react-docs/src/ts/components/interface.tsx b/packages/react-docs/src/components/interface.tsx index 01f4942ef..01f4942ef 100644 --- a/packages/react-docs/src/ts/components/interface.tsx +++ b/packages/react-docs/src/components/interface.tsx diff --git a/packages/react-docs/src/ts/components/method_block.tsx b/packages/react-docs/src/components/method_block.tsx index 44a1db8af..44a1db8af 100644 --- a/packages/react-docs/src/ts/components/method_block.tsx +++ b/packages/react-docs/src/components/method_block.tsx diff --git a/packages/react-docs/src/ts/components/method_signature.tsx b/packages/react-docs/src/components/method_signature.tsx index 1400182ea..1400182ea 100644 --- a/packages/react-docs/src/ts/components/method_signature.tsx +++ b/packages/react-docs/src/components/method_signature.tsx diff --git a/packages/react-docs/src/ts/components/source_link.tsx b/packages/react-docs/src/components/source_link.tsx index 89956a507..89956a507 100644 --- a/packages/react-docs/src/ts/components/source_link.tsx +++ b/packages/react-docs/src/components/source_link.tsx diff --git a/packages/react-docs/src/ts/components/type.tsx b/packages/react-docs/src/components/type.tsx index 56425a5df..56425a5df 100644 --- a/packages/react-docs/src/ts/components/type.tsx +++ b/packages/react-docs/src/components/type.tsx diff --git a/packages/react-docs/src/ts/components/type_definition.tsx b/packages/react-docs/src/components/type_definition.tsx index 68ef4c465..68ef4c465 100644 --- a/packages/react-docs/src/ts/components/type_definition.tsx +++ b/packages/react-docs/src/components/type_definition.tsx diff --git a/packages/react-docs/src/ts/docs_info.ts b/packages/react-docs/src/docs_info.ts index 68bddef06..68bddef06 100644 --- a/packages/react-docs/src/ts/docs_info.ts +++ b/packages/react-docs/src/docs_info.ts diff --git a/packages/react-docs/src/ts/globals.d.ts b/packages/react-docs/src/globals.d.ts index c7cd53854..c7cd53854 100644 --- a/packages/react-docs/src/ts/globals.d.ts +++ b/packages/react-docs/src/globals.d.ts diff --git a/packages/react-docs/src/ts/index.ts b/packages/react-docs/src/index.ts index a62c91376..a62c91376 100644 --- a/packages/react-docs/src/ts/index.ts +++ b/packages/react-docs/src/index.ts diff --git a/packages/react-docs/src/monorepo_scripts/postpublish.ts b/packages/react-docs/src/monorepo_scripts/postpublish.ts new file mode 100644 index 000000000..d5fcff9d0 --- /dev/null +++ b/packages/react-docs/src/monorepo_scripts/postpublish.ts @@ -0,0 +1,6 @@ +import { postpublishUtils } from '@0xproject/monorepo-scripts'; + +import * as packageJSON from '../package.json'; + +const subPackageName = (packageJSON as any).name; +postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/react-docs/src/ts/types.ts b/packages/react-docs/src/types.ts index d192af313..d192af313 100644 --- a/packages/react-docs/src/ts/types.ts +++ b/packages/react-docs/src/types.ts diff --git a/packages/react-docs/src/ts/utils/constants.ts b/packages/react-docs/src/utils/constants.ts index c3c74fd11..c3c74fd11 100644 --- a/packages/react-docs/src/ts/utils/constants.ts +++ b/packages/react-docs/src/utils/constants.ts diff --git a/packages/react-docs/src/ts/utils/doxity_utils.ts b/packages/react-docs/src/utils/doxity_utils.ts index 26dea6966..26dea6966 100644 --- a/packages/react-docs/src/ts/utils/doxity_utils.ts +++ b/packages/react-docs/src/utils/doxity_utils.ts diff --git a/packages/react-docs/src/ts/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts index e4cea1e40..e4cea1e40 100644 --- a/packages/react-docs/src/ts/utils/typedoc_utils.ts +++ b/packages/react-docs/src/utils/typedoc_utils.ts diff --git a/packages/react-docs/src/ts/utils/utils.ts b/packages/react-docs/src/utils/utils.ts index 8e1a80a44..8e1a80a44 100644 --- a/packages/react-docs/src/ts/utils/utils.ts +++ b/packages/react-docs/src/utils/utils.ts diff --git a/packages/react-docs/tsconfig.json b/packages/react-docs/tsconfig.json index 44055a037..9af6638a2 100644 --- a/packages/react-docs/tsconfig.json +++ b/packages/react-docs/tsconfig.json @@ -9,5 +9,5 @@ "*": ["node_modules/@types/*", "*"] } }, - "include": ["./src/ts/**/*"] + "include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"] } |