json-schema-faker

v0.5.0-rcv.28
JSON-Schema + fake data generators
json jsonschema fake mocks

dev

npm run test:schema -- -w

test

npm run test:unit -- && npm run test:schema

_test:ci

npm run coverage:all && npm run report -- -r lcov

_test:all

npm run test:run tests && npm run report -- -r html

test:run

cross-env NODE_ENV=test _mocha --exit --recursive --watch-extensions js,json -r esm -bR spec

test:unit

npm run test:run tests/unit --

test:schema

npm run test:run tests/schema --

_coverage

nyc -x '**/tests/**' -x '**/*.spec.js'

_coverage:all

npm run coverage -- npm run test:all

_coverage:unit

npm run coverage -- npm run test:unit

_codecov

codecov --file=coverage/lcov.info -e TRAVIS_NODE_VERSION

_report

nyc report

lint

eslint src tests

_pretest

npm run lint

_prepublish

npm run build

_graphviz

madge src --dot > structure.gv

watch

tarima watch

build

tarima -mfqe production

pretest

npm run lint && npm run build

copy:vendor

concat -o dist/vendor.js node_modules/json-schema-ref-parser/dist/ref-parser.min.js node_modules/jsonpath-plus/dist/index-umd.min.js

postbuild

npm run copy:vendor && concat -o dist/bundle.js dist/vendor.js dist/main.umd.min.js

Metadata

  • MIT
  • Whatever
  • Alvaro Cabrera
  • released 8/31/2020

Downloads