Skip to content

Raruto/leaflet-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

leaflet-npm

Collection of Leaflet bundles to start building web maps with a proper npm module loader (browserify, rollup or webpack)

  1. Start cloning a branch:
  1. Update project dependecies running the npm install command

  2. Develop your Leaflet Map within the respective /src folder

  3. Pack your application running the npm run build command

  4. See generated results opening the /dist/index.html file


List of useful npm commands

  • npm install - download npm package dependecies
  • npm update - download/update npm package dependecies
  • npm i <package_name> [--s]/[--D] - add package/dependency (alias for: npm install <package_name> [--save]/[--save-dev])
  • npm r <package_name> [--s]/[--D] - remove package/dependency (alias for: npm remove <package_name> [--save]/[--save-dev])
  • npm run build - run build script (from package.json)
  • npm run watch - run watch script (from package.json)
  • npm start - run start command (from package.json)

About

Collection of Leaflet bundles to start building web maps with a proper npm module loader (browserify, rollup or webpack)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published