maputnik/README.md

30 lines
438 B
Markdown
Raw Normal View History

2016-09-08 19:57:35 +02:00
# Mapolo
2015-06-15 15:21:19 +02:00
2016-09-08 19:57:35 +02:00
A visual style editor for MapboxGL.
2015-06-15 15:21:19 +02:00
2016-09-08 19:57:35 +02:00
## Develop
2015-06-15 15:21:19 +02:00
2016-09-08 19:57:35 +02:00
Install the deps, start the dev server and open the web browser on `http://localhost:8888/`.
2015-06-15 15:21:19 +02:00
2016-09-08 19:57:35 +02:00
```bash
# install dependencies
npm install
# start dev server
npm start
2015-06-15 15:21:19 +02:00
```
2016-09-08 19:57:35 +02:00
Build a production package for distribution.
2015-06-15 15:21:19 +02:00
```
2016-09-08 19:57:35 +02:00
npm run build
2015-06-15 15:21:19 +02:00
```
2016-09-08 19:57:35 +02:00
Lint the JavaScript code.
2015-06-15 15:21:19 +02:00
```
2016-09-08 19:57:35 +02:00
# install lint dependencies
npm install --save-dev eslint eslint-plugin-react
# run linter
npm run lint
2015-06-15 15:21:19 +02:00
```