aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs-example
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
committerFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
commitcc73f72d130ed91f74dbe378cc68e834850898f4 (patch)
tree70113a2be495bf8b050dd9cd8176b184eed4e25b /packages/react-docs-example
parente4f90996af5972c09e80f31f66abc3fcb2c2e99c (diff)
downloaddexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.gz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.bz2
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.lz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.xz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.zst
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.zip
remove example top-level dir
Diffstat (limited to 'packages/react-docs-example')
-rw-r--r--packages/react-docs-example/less/all.less (renamed from packages/react-docs-example/example/less/all.less)0
-rw-r--r--packages/react-docs-example/md/introduction.md (renamed from packages/react-docs-example/example/md/introduction.md)0
-rw-r--r--packages/react-docs-example/package.json8
-rw-r--r--packages/react-docs-example/public/css/basscss_responsive_custom.css (renamed from packages/react-docs-example/example/public/css/basscss_responsive_custom.css)0
-rw-r--r--packages/react-docs-example/public/css/basscss_responsive_margin.css (renamed from packages/react-docs-example/example/public/css/basscss_responsive_margin.css)0
-rw-r--r--packages/react-docs-example/public/css/basscss_responsive_padding.css (renamed from packages/react-docs-example/example/public/css/basscss_responsive_padding.css)0
-rw-r--r--packages/react-docs-example/public/css/basscss_responsive_type_scale.css (renamed from packages/react-docs-example/example/public/css/basscss_responsive_type_scale.css)0
-rw-r--r--packages/react-docs-example/public/css/github-gist.css (renamed from packages/react-docs-example/example/public/css/github-gist.css)0
-rwxr-xr-xpackages/react-docs-example/public/css/material-design-iconic-font.min.css (renamed from packages/react-docs-example/example/public/css/material-design-iconic-font.min.css)0
-rw-r--r--packages/react-docs-example/public/css/roboto.css (renamed from packages/react-docs-example/example/public/css/roboto.css)0
-rw-r--r--packages/react-docs-example/public/css/roboto_mono.css (renamed from packages/react-docs-example/example/public/css/roboto_mono.css)0
-rwxr-xr-xpackages/react-docs-example/public/fonts/Material-Design-Iconic-Font.eot (renamed from packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.eot)bin42495 -> 42495 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Material-Design-Iconic-Font.svg (renamed from packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.svg)0
-rwxr-xr-xpackages/react-docs-example/public/fonts/Material-Design-Iconic-Font.ttf (renamed from packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.ttf)bin99212 -> 99212 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff (renamed from packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff)bin50312 -> 50312 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff2 (renamed from packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff2)bin38384 -> 38384 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Black.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Black.ttf)bin171480 -> 171480 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-BlackItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-BlackItalic.ttf)bin177552 -> 177552 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Bold.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Bold.ttf)bin170760 -> 170760 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-BoldItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-BoldItalic.ttf)bin174952 -> 174952 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Italic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Italic.ttf)bin173932 -> 173932 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Light.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Light.ttf)bin170420 -> 170420 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-LightItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-LightItalic.ttf)bin176616 -> 176616 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Medium.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Medium.ttf)bin172064 -> 172064 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-MediumItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-MediumItalic.ttf)bin176864 -> 176864 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Regular.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Regular.ttf)bin171676 -> 171676 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-Thin.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-Thin.ttf)bin171904 -> 171904 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/Roboto-ThinItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/Roboto-ThinItalic.ttf)bin176300 -> 176300 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Bold.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Bold.ttf)bin114752 -> 114752 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-BoldItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-BoldItalic.ttf)bin122808 -> 122808 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Italic.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Italic.ttf)bin120832 -> 120832 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Light.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Light.ttf)bin118976 -> 118976 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-LightItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-LightItalic.ttf)bin127568 -> 127568 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Medium.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Medium.ttf)bin114696 -> 114696 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-MediumItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-MediumItalic.ttf)bin123640 -> 123640 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Regular.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Regular.ttf)bin114624 -> 114624 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-Thin.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-Thin.ttf)bin118132 -> 118132 bytes
-rwxr-xr-xpackages/react-docs-example/public/fonts/RobotoMono-ThinItalic.ttf (renamed from packages/react-docs-example/example/public/fonts/RobotoMono-ThinItalic.ttf)bin121456 -> 121456 bytes
-rw-r--r--packages/react-docs-example/public/index.html (renamed from packages/react-docs-example/example/public/index.html)0
-rw-r--r--packages/react-docs-example/ts/docs.tsx (renamed from packages/react-docs-example/example/ts/docs.tsx)0
-rw-r--r--packages/react-docs-example/ts/globals.d.ts (renamed from packages/react-docs-example/example/ts/globals.d.ts)0
-rw-r--r--packages/react-docs-example/ts/index.tsx (renamed from packages/react-docs-example/example/ts/index.tsx)0
-rw-r--r--packages/react-docs-example/ts/json/0.1.12.json (renamed from packages/react-docs-example/example/ts/json/0.1.12.json)0
-rw-r--r--packages/react-docs-example/ts/json/0.2.0.json (renamed from packages/react-docs-example/example/ts/json/0.2.0.json)0
-rw-r--r--packages/react-docs-example/tsconfig.json2
-rw-r--r--packages/react-docs-example/webpack.config.js50
46 files changed, 29 insertions, 31 deletions
diff --git a/packages/react-docs-example/example/less/all.less b/packages/react-docs-example/less/all.less
index 8e891946d..8e891946d 100644
--- a/packages/react-docs-example/example/less/all.less
+++ b/packages/react-docs-example/less/all.less
diff --git a/packages/react-docs-example/example/md/introduction.md b/packages/react-docs-example/md/introduction.md
index b8569576e..b8569576e 100644
--- a/packages/react-docs-example/example/md/introduction.md
+++ b/packages/react-docs-example/md/introduction.md
diff --git a/packages/react-docs-example/package.json b/packages/react-docs-example/package.json
index 73ee5b2bc..5469677d4 100644
--- a/packages/react-docs-example/package.json
+++ b/packages/react-docs-example/package.json
@@ -4,17 +4,15 @@
"private": true,
"description":
"An example app using react-docs",
- "main": "lib/index.js",
- "types": "lib/index.d.ts",
"scripts": {
- "lint": "tslint --project . 'example/ts/**/*.ts' 'example/ts/**/*.tsx'",
+ "lint": "tslint --project . 'ts/**/*.ts' 'ts/**/*.tsx'",
"build": "tsc",
"build:example": "NODE_ENV=production webpack",
"build:watch": "tsc -w",
- "clean": "shx rm -rf lib",
+ "clean": "shx rm -rf lib; shx rm -f public/bundle*",
"dev": "webpack-dev-server --open",
"deploy_example":
- "npm run build:example; aws s3 sync ./example/public/. s3://react-docs-example --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers"
+ "npm run build:example; aws s3 sync ./public/. s3://react-docs-example --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers"
},
"author": "Fabio Berger",
"license": "Apache-2.0",
diff --git a/packages/react-docs-example/example/public/css/basscss_responsive_custom.css b/packages/react-docs-example/public/css/basscss_responsive_custom.css
index 5f8bd9117..5f8bd9117 100644
--- a/packages/react-docs-example/example/public/css/basscss_responsive_custom.css
+++ b/packages/react-docs-example/public/css/basscss_responsive_custom.css
diff --git a/packages/react-docs-example/example/public/css/basscss_responsive_margin.css b/packages/react-docs-example/public/css/basscss_responsive_margin.css
index c9f3e855c..c9f3e855c 100644
--- a/packages/react-docs-example/example/public/css/basscss_responsive_margin.css
+++ b/packages/react-docs-example/public/css/basscss_responsive_margin.css
diff --git a/packages/react-docs-example/example/public/css/basscss_responsive_padding.css b/packages/react-docs-example/public/css/basscss_responsive_padding.css
index 773a91743..773a91743 100644
--- a/packages/react-docs-example/example/public/css/basscss_responsive_padding.css
+++ b/packages/react-docs-example/public/css/basscss_responsive_padding.css
diff --git a/packages/react-docs-example/example/public/css/basscss_responsive_type_scale.css b/packages/react-docs-example/public/css/basscss_responsive_type_scale.css
index 27de3da94..27de3da94 100644
--- a/packages/react-docs-example/example/public/css/basscss_responsive_type_scale.css
+++ b/packages/react-docs-example/public/css/basscss_responsive_type_scale.css
diff --git a/packages/react-docs-example/example/public/css/github-gist.css b/packages/react-docs-example/public/css/github-gist.css
index d5c8751c5..d5c8751c5 100644
--- a/packages/react-docs-example/example/public/css/github-gist.css
+++ b/packages/react-docs-example/public/css/github-gist.css
diff --git a/packages/react-docs-example/example/public/css/material-design-iconic-font.min.css b/packages/react-docs-example/public/css/material-design-iconic-font.min.css
index e1a58fe2f..e1a58fe2f 100755
--- a/packages/react-docs-example/example/public/css/material-design-iconic-font.min.css
+++ b/packages/react-docs-example/public/css/material-design-iconic-font.min.css
diff --git a/packages/react-docs-example/example/public/css/roboto.css b/packages/react-docs-example/public/css/roboto.css
index 4c4a126b0..4c4a126b0 100644
--- a/packages/react-docs-example/example/public/css/roboto.css
+++ b/packages/react-docs-example/public/css/roboto.css
diff --git a/packages/react-docs-example/example/public/css/roboto_mono.css b/packages/react-docs-example/public/css/roboto_mono.css
index 392ea5224..392ea5224 100644
--- a/packages/react-docs-example/example/public/css/roboto_mono.css
+++ b/packages/react-docs-example/public/css/roboto_mono.css
diff --git a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.eot b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.eot
index 5e2519150..5e2519150 100755
--- a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.eot
+++ b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.eot
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.svg b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.svg
index 1d3d2eaa2..1d3d2eaa2 100755
--- a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.svg
+++ b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.svg
diff --git a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.ttf b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.ttf
index 5d489fdd1..5d489fdd1 100755
--- a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.ttf
+++ b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff
index 933b2bf85..933b2bf85 100755
--- a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff
+++ b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff2 b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff2
index 35970e277..35970e277 100755
--- a/packages/react-docs-example/example/public/fonts/Material-Design-Iconic-Font.woff2
+++ b/packages/react-docs-example/public/fonts/Material-Design-Iconic-Font.woff2
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Black.ttf b/packages/react-docs-example/public/fonts/Roboto-Black.ttf
index 689fe5cb3..689fe5cb3 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Black.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Black.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-BlackItalic.ttf b/packages/react-docs-example/public/fonts/Roboto-BlackItalic.ttf
index 0b4e0ee10..0b4e0ee10 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-BlackItalic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-BlackItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Bold.ttf b/packages/react-docs-example/public/fonts/Roboto-Bold.ttf
index d3f01ad24..d3f01ad24 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Bold.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Bold.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-BoldItalic.ttf b/packages/react-docs-example/public/fonts/Roboto-BoldItalic.ttf
index 41cc1e753..41cc1e753 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-BoldItalic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-BoldItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Italic.ttf b/packages/react-docs-example/public/fonts/Roboto-Italic.ttf
index 6a1cee5b2..6a1cee5b2 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Italic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Italic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Light.ttf b/packages/react-docs-example/public/fonts/Roboto-Light.ttf
index 219063a57..219063a57 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Light.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Light.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-LightItalic.ttf b/packages/react-docs-example/public/fonts/Roboto-LightItalic.ttf
index 0e81e876f..0e81e876f 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-LightItalic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-LightItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Medium.ttf b/packages/react-docs-example/public/fonts/Roboto-Medium.ttf
index 1a7f3b0bb..1a7f3b0bb 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Medium.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Medium.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-MediumItalic.ttf b/packages/react-docs-example/public/fonts/Roboto-MediumItalic.ttf
index 003029527..003029527 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-MediumItalic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-MediumItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Regular.ttf b/packages/react-docs-example/public/fonts/Roboto-Regular.ttf
index 2c97eeadf..2c97eeadf 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Regular.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Regular.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-Thin.ttf b/packages/react-docs-example/public/fonts/Roboto-Thin.ttf
index b74a4fd1a..b74a4fd1a 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-Thin.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-Thin.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/Roboto-ThinItalic.ttf b/packages/react-docs-example/public/fonts/Roboto-ThinItalic.ttf
index dd0ddb852..dd0ddb852 100755
--- a/packages/react-docs-example/example/public/fonts/Roboto-ThinItalic.ttf
+++ b/packages/react-docs-example/public/fonts/Roboto-ThinItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Bold.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Bold.ttf
index 07ef607d5..07ef607d5 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Bold.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Bold.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-BoldItalic.ttf b/packages/react-docs-example/public/fonts/RobotoMono-BoldItalic.ttf
index 1cca0bf45..1cca0bf45 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-BoldItalic.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-BoldItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Italic.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Italic.ttf
index ef92c372c..ef92c372c 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Italic.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Italic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Light.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Light.ttf
index 63229b280..63229b280 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Light.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Light.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-LightItalic.ttf b/packages/react-docs-example/public/fonts/RobotoMono-LightItalic.ttf
index f25bed56a..f25bed56a 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-LightItalic.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-LightItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Medium.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Medium.ttf
index 88ff0c15a..88ff0c15a 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Medium.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Medium.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-MediumItalic.ttf b/packages/react-docs-example/public/fonts/RobotoMono-MediumItalic.ttf
index 307efad8f..307efad8f 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-MediumItalic.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-MediumItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Regular.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Regular.ttf
index b158a334e..b158a334e 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Regular.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Regular.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-Thin.ttf b/packages/react-docs-example/public/fonts/RobotoMono-Thin.ttf
index 309484d32..309484d32 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-Thin.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-Thin.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/fonts/RobotoMono-ThinItalic.ttf b/packages/react-docs-example/public/fonts/RobotoMono-ThinItalic.ttf
index e1bb9121e..e1bb9121e 100755
--- a/packages/react-docs-example/example/public/fonts/RobotoMono-ThinItalic.ttf
+++ b/packages/react-docs-example/public/fonts/RobotoMono-ThinItalic.ttf
Binary files differ
diff --git a/packages/react-docs-example/example/public/index.html b/packages/react-docs-example/public/index.html
index fcc1c6e0c..fcc1c6e0c 100644
--- a/packages/react-docs-example/example/public/index.html
+++ b/packages/react-docs-example/public/index.html
diff --git a/packages/react-docs-example/example/ts/docs.tsx b/packages/react-docs-example/ts/docs.tsx
index 16926586d..16926586d 100644
--- a/packages/react-docs-example/example/ts/docs.tsx
+++ b/packages/react-docs-example/ts/docs.tsx
diff --git a/packages/react-docs-example/example/ts/globals.d.ts b/packages/react-docs-example/ts/globals.d.ts
index 94e63a32d..94e63a32d 100644
--- a/packages/react-docs-example/example/ts/globals.d.ts
+++ b/packages/react-docs-example/ts/globals.d.ts
diff --git a/packages/react-docs-example/example/ts/index.tsx b/packages/react-docs-example/ts/index.tsx
index 84a544766..84a544766 100644
--- a/packages/react-docs-example/example/ts/index.tsx
+++ b/packages/react-docs-example/ts/index.tsx
diff --git a/packages/react-docs-example/example/ts/json/0.1.12.json b/packages/react-docs-example/ts/json/0.1.12.json
index 385684f30..385684f30 100644
--- a/packages/react-docs-example/example/ts/json/0.1.12.json
+++ b/packages/react-docs-example/ts/json/0.1.12.json
diff --git a/packages/react-docs-example/example/ts/json/0.2.0.json b/packages/react-docs-example/ts/json/0.2.0.json
index 48bcb61a7..48bcb61a7 100644
--- a/packages/react-docs-example/example/ts/json/0.2.0.json
+++ b/packages/react-docs-example/ts/json/0.2.0.json
diff --git a/packages/react-docs-example/tsconfig.json b/packages/react-docs-example/tsconfig.json
index 3e5c9e435..0e9cd3ddd 100644
--- a/packages/react-docs-example/tsconfig.json
+++ b/packages/react-docs-example/tsconfig.json
@@ -17,5 +17,5 @@
"pretty": true,
"strict": true
},
- "include": ["./example/ts/**/*"]
+ "include": ["./ts/**/*"]
}
diff --git a/packages/react-docs-example/webpack.config.js b/packages/react-docs-example/webpack.config.js
index 209f58a4f..30f3132da 100644
--- a/packages/react-docs-example/webpack.config.js
+++ b/packages/react-docs-example/webpack.config.js
@@ -2,22 +2,22 @@ const path = require('path');
const webpack = require('webpack');
module.exports = {
- entry: ['./example/ts/index.tsx'],
+ entry: ['./ts/index.tsx'],
output: {
- path: path.join(__dirname, '/example/public'),
+ path: path.join(__dirname, '/public'),
filename: 'bundle.js',
chunkFilename: 'bundle-[name].js',
- publicPath: '/'
+ publicPath: '/',
},
devtool: 'source-map',
resolve: {
- modules: [path.join(__dirname, '/example/ts'), 'node_modules'],
+ modules: [path.join(__dirname, '/ts'), 'node_modules'],
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.md'],
alias: {
- ts: path.join(__dirname, '/example/ts'),
- less: path.join(__dirname, '/example/less'),
- md: path.join(__dirname, '/example/md')
- }
+ ts: path.join(__dirname, '/ts'),
+ less: path.join(__dirname, '/less'),
+ md: path.join(__dirname, '/md'),
+ },
},
module: {
rules: [
@@ -26,31 +26,31 @@ module.exports = {
loader: 'source-map-loader',
exclude: [
// instead of /\/node_modules\//
- path.join(process.cwd(), 'node_modules')
- ]
+ path.join(process.cwd(), 'node_modules'),
+ ],
},
{
test: /\.tsx?$/,
- loader: 'awesome-typescript-loader'
+ loader: 'awesome-typescript-loader',
},
{
test: /\.css$/,
- loaders: ['style-loader', 'css-loader']
+ loaders: ['style-loader', 'css-loader'],
},
{
test: /\.less$/,
loader: 'style-loader!css-loader!less-loader',
- exclude: /node_modules/
+ exclude: /node_modules/,
},
{
test: /\.json$/,
- loader: 'json-loader'
+ loader: 'json-loader',
},
{
test: /\.md$/,
- use: 'raw-loader'
- }
- ]
+ use: 'raw-loader',
+ },
+ ],
},
devServer: {
port: 3000,
@@ -64,20 +64,20 @@ module.exports = {
from: /.*$/,
to: function() {
return 'index.html';
- }
- }
- ]
+ },
+ },
+ ],
},
- contentBase: path.join(__dirname, '/example/public')
+ contentBase: path.join(__dirname, '/public'),
},
plugins:
process.env.NODE_ENV === 'production'
? [
new webpack.DefinePlugin({
'process.env': {
- NODE_ENV: JSON.stringify(process.env.NODE_ENV)
- }
- })
+ NODE_ENV: JSON.stringify(process.env.NODE_ENV),
+ },
+ }),
]
- : []
+ : [],
};