vuex-map-fields

v1.4.0
Enable two-way data binding for form fields saved in a Vuex store
vue vuex two-way data binding

scripts:umd

rollup --config --output.format umd --name vuex-map-fields --output.file dist/index.js src/index.js

scripts:es

rollup --config --output.format es --name vuex-map-fields --output.file dist/index.esm.js src/index.js

scripts:minify

uglifyjs --compress --mangle --comments --output dist/index.min.js dist/index.js && uglifyjs --compress --mangle --comments --output dist/index.esm.min.js dist/index.esm.js

scripts

yarn run scripts:umd && yarn run scripts:es && yarn run scripts:minify

build

yarn run scripts

fake-publish

yarn run build && sh test/utils/fake-publish.sh

lint:scripts

yarn run fake-publish && eslint --ignore-path .gitignore .

lint:scripts-md

eslint --config .eslintrc-md.json --ext md --ignore-path .gitignore .

lint

yarn run lint:scripts && yarn run lint:scripts-md

coveralls

yarn run test:coverage && cat coverage/lcov.info | coveralls

test:unit

jest src

test:integration

yarn run fake-publish && jest test

test:coverage

yarn run fake-publish && jest --coverage --maxWorkers=4

test

yarn run test:unit && yarn run test:integration

prepublishOnly

yarn run lint && yarn test && yarn run build

Metadata

  • MIT
  • Whatever
  • Markus Oberlehner
  • released 2/22/2020

Downloads

Maintainers