Skip to content

Commit e82147a

Browse files
committed
Add example app to simplify dev workflow
1 parent 6eb8d29 commit e82147a

File tree

9 files changed

+21886
-2
lines changed

9 files changed

+21886
-2
lines changed

.npmignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
/dist
12+
13+
# misc
14+
.DS_Store
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*
23+
24+
.idea
25+
.cache
26+
.vscode
27+
*.png
28+
/example

example/.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
/dist
12+
13+
# misc
14+
.DS_Store
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*
23+
24+
.idea
25+
.cache
26+
.vscode

example/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# react-map-gl-geocoder-example
2+
This app can be used by developers to manual test local changes to `react-map-gl-geocoder` component.
3+
4+
## Getting Started
5+
1. Install dependencies for this app by running `npm install`.
6+
1. Run `npm start` to start app.
7+
1. Run `npm run watch` in root of `react-map-gl-geocoder` folder to rebuild the `react-map-gl-geocoder` dependency when changes are made.

0 commit comments

Comments
 (0)