esformatter-jsx

v8.0.1
esformatter plugin: format javascript files that contain React JSX Elements
esformatter-plugin esformatter jsx react jsx AST codestyle react jsx

autofix

npm run eslint -- --fix

_lint

eslint --cache --cache-location='.cache/' -f 'node_modules/eslint-friendly-formatter'

eslint

npm run _lint -- 'src/**/*.js' 'specs/**/*.spec.js'

test

npm run verify && babel-node node_modules/.bin/mocha-runner 'specs/**/*.spec.js'

cover

istanbul cover -x 'specs/**/*.spec.js' mocha-runner 'specs/**/*.spec.js' html text-summary

watch

npm run cover && watch-spawn -p 'specs/**/*.spec.js' npm run cover

verify

npm run eslint

changelog

changelogx -f markdown -o ./changelog.md

do-changelog

npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify

install-hooks

prepush install && changelogx install-hook && precommit install

pre-v

npm run test

post-v

npm run do-changelog && git push --no-verify && git push --tags --no-verify

bump-major

npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v

bump-minor

npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v

bump-patch

npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v

exec-demo

cd demo && babel-node runner.js

prepublish

npm run build

build

babel src/ -d lib/
npm i esformatter-jsx

Metadata

  • MIT
  • >=0.10.0
  • Roy Riojas
  • released 7/17/2017

Downloads

Maintainers