@vue/babel-sugar-v-on

v1.4.0
Babel syntactic sugar for v-model support in Vue JSX

pretest:snapshot

yarn build:test

test:snapshot

nyc --reporter=html --reporter=text-summary ava -v test/snapshot.js

build:dependency

cd ../babel-plugin-transform-vue-jsx && yarn build

pretest:functional

yarn build:dependency && yarn build:test && nyc --reporter=html --reporter=text-summary babel test/functional.js --plugins ./dist/plugin.testing.js,../babel-plugin-transform-vue-jsx/dist/plugin.js,@babel/plugin-transform-arrow-functions --out-file test/functional-compiled.js

test:functional

ava -v test/functional-compiled.js

build

rollup -c

build:test

rollup -c rollup.config.testing.js

test

rm -rf coverage* && yarn test:snapshot && mv coverage coverage-snapshot && yarn test:functional && mv coverage coverage-functional

prepublish

yarn build
npm i @vue/babel-sugar-v-on

Metadata

  • MIT
  • Whatever
  • Nick Messing
  • released 8/25/2022

Downloads