Skip to content

Commit

Permalink
Move lib and docs to isolate folders
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Nov 21, 2017
1 parent 5178734 commit f81c42c
Show file tree
Hide file tree
Showing 63 changed files with 630 additions and 507 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,5 +1,5 @@
# dependencies
/node_modules
*/node_modules

# build
/dist
Expand Down
1 change: 1 addition & 0 deletions .npmignore
@@ -1,3 +1,4 @@
docs/*
lib/*
src/*
node_modules/*
6 changes: 3 additions & 3 deletions docs/README.md
@@ -1,13 +1,13 @@
Demo project for material-ui-picker
Demo project for `material-ui-pickers`

First of all want to thanks for taking your time to contribute 🎉
There is a little instruction of how to run the demo locally using `npm link`

Just run this command from root and you will be able to run demo.

```sh
npm link && cd docs && npm link material-ui-pickers
cd lib && npm link && cd docs && npm link material-ui-pickers
```

Thats it, your local build is linked to demo project!
Please note that you need to start the project in both `root` and `/docs folders`, fist will build cjs module for you, and demo would be automaticly reloaded by watcher.
Please note that you need to start the project in both `/lib` and `/docs` folders, fist will watch and build es module of library, and demo would be reloaded by watcher.

0 comments on commit f81c42c

Please sign in to comment.