json-schema-library
v7.4.4 JSON schema customize library tools utilities validator validation jsonschema and 5 more...
tdd
watch "npm run test:unit" lib/ test/
dist
rm -rf dist; yarn dist:es5 && yarn dist:es6
lint
eslint lib
test
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/**/*.test.ts'
test:4
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/v4/*.test.ts'
test:6
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/v6/*.test.ts'
test:7
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/v7/*.test.ts'
analyze
NODE_ENV=production webpack --json | webpack-bundle-size-analyzer
coverage
nyc npm run test --reporter=lcov
dist:es5
NODE_ENV=production webpack
dist:es6
tsc --outDir dist/module --target ES2019
test:2019
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/v2019-09/*.test.ts'
test:spec
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/**/*.test.ts'
test:unit
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/unit/**/*.test.ts'
test:unit:ci
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R json 'test/unit/**/*.test.ts' > test-result-unit.json; exit 0
prepublishOnly
yarn dist
test:spec:4:ci
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R json 'test/spec/v4/*.test.ts' > test-result-spec4.json; exit 0
test:spec:6:ci
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R json 'test/spec/v6/*.test.ts' > test-result-spec6.json; exit 0
test:spec:7:ci
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R json 'test/spec/v7/*.test.ts' > test-result-spec7.json; exit 0
test:integration
TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/integration/**/*.test.ts'
npm i [email protected]
Metadata
- MIT
- Whatever
- Sascha Goldhofer
- released 12/13/2022