@artesa/vue2-google-maps

v0.12.2
This is a google map component for Vue.js, updated for Vue 2 compatibility

build

npm run build:babel && npm run build:webpack

build:babel

shx mkdir -p dist && shx rm -r dist && cross-env BUILD_DEV=1 babel src -D --out-dir dist && echo {} > dist/.babelrc

build:webpack

cross-env NODE_ENV=production webpack --progress --hide-modules

build:examples

npm run build:examples:before && npm run build:examples:webpack

build:examples:before

npm run build && shx cp dist/vue-google-maps.js examples

build:examples:webpack

cd examples && cross-env NODE_ENV=production webpack

lab:tests

lab -T test/test-setup/babel-transform.js -l -S test

lint

eslint --ext .vue,.js src && eslint --ext .vue,.html,.js test

lint:fix

eslint --fix --ext .vue,.js src && eslint --ext .vue,.html,.js test

test

npm run lab:tests && npm run lint

deploy

npm run build:examples && gh-pages -d examples

prepare

npm run build
npm i @artesa/vue2-google-maps

Metadata

  • MIT
  • Whatever
  • Daniel Sim, Guillaume Leclerc
  • released 7/20/2022

Downloads