File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 44
55## Installation
66
7- * Running ` yarn install ` in the component's root directory will install everything you need for development.
7+ - Running ` yarn ` in the component's root directory will install everything you need for development.
88
99## Demo Development Server
1010
11- * ` npm start ` will run a development server with the component's demo app at [ http://localhost:3000 ] ( http://localhost:3000 ) with hot module reloading.
11+ - ` npm start ` will run a development server with the component's demo app at [ http://localhost:3000 ] ( http://localhost:3000 ) with hot module reloading.
12+
13+ ## Storybook
14+
15+ 1 . copy ` devToken.js.rename ` to ` devToken.js `
16+ 2 . add a valid token from apple to ` devToken.js `
17+ 3 . run ` yarn storybook `
18+ 4 . visit the URL storybook gives you
19+ 5 . play with maps!
1220
1321## Running Tests
1422
15- * ` npm test ` will run the tests once.
23+ - ` npm test ` will run the tests once.
1624
17- * ` npm run test:coverage ` will run the tests and produce a coverage report in ` coverage/ ` .
25+ - ` npm run test:coverage ` will run the tests and produce a coverage report in ` coverage/ ` .
1826
19- * ` npm run test:watch ` will run the tests on every change.
27+ - ` npm run test:watch ` will run the tests on every change.
2028
2129## Building
2230
23- * ` npm run build ` will build the component for publishing to npm and also bundle the demo app.
31+ - ` npm run build ` will build the component for publishing to npm and also bundle the demo app.
2432
25- * ` npm run clean ` will delete built resources.
33+ - ` npm run clean ` will delete built resources.
Original file line number Diff line number Diff line change 11{
22 "name" : " react-mapkit" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.2.0 " ,
44 "description" : " React wrapper for Apple's mapkit.js." ,
55 "license" : " MIT" ,
66 "main" : " lib/index.js" ,
You can’t perform that action at this time.
0 commit comments