json-schema-faker

v0.5.0-rcv.34
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:unit && npm run report -- -r lcov

test:all

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

test:run

cross-env NODE_ENV=test _mocha --exit --colors --recursive --watch-files 'tests/**' --watch-files 'src/**' --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

copy:wargs

concat -o dist/wargs.min.js node_modules/wargs/dist/wargs.min.js

postbuild

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

Metadata

  • MIT
  • Whatever
  • Alvaro Cabrera
  • released 3/19/2021

Downloads