100 lines
4.4 KiB
JSON
100 lines
4.4 KiB
JSON
![]() |
{
|
||
|
"name": "json-schema-library",
|
||
|
"version": "9.3.5",
|
||
|
"description": "Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation",
|
||
|
"module": "dist/module/index.js",
|
||
|
"types": "dist/index.d.ts",
|
||
|
"main": "dist/jsonSchemaLibrary.js",
|
||
|
"scripts": {
|
||
|
"dist": "rm -rf dist; yarn dist:es5 && yarn dist:es6",
|
||
|
"dist:es5": "NODE_ENV=production webpack",
|
||
|
"dist:es6": "tsc --outDir dist/module --target ES2019",
|
||
|
"test": "TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/**/*.test.ts'",
|
||
|
"test:integration": "TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/integration/**/*.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",
|
||
|
"test:spec": "TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/**/*.test.ts'",
|
||
|
"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: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'",
|
||
|
"test:2019": "TS_NODE_PROJECT=./test/tsconfig.json mocha -r ts-node/register -R spec 'test/spec/v2019-09/*.test.ts'",
|
||
|
"tdd": "watch \"npm run test:unit\" lib/ test/",
|
||
|
"coverage": "nyc npm run test --reporter=lcov",
|
||
|
"analyze": "NODE_ENV=production webpack --json | webpack-bundle-size-analyzer",
|
||
|
"lint": "eslint lib",
|
||
|
"prepublishOnly": "yarn dist"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/sagold/json-schema-library.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"JSON",
|
||
|
"schema",
|
||
|
"customize",
|
||
|
"library",
|
||
|
"tools",
|
||
|
"utilities",
|
||
|
"validator",
|
||
|
"validation",
|
||
|
"jsonschema",
|
||
|
"json-schema",
|
||
|
"json-schema-validator",
|
||
|
"json-schema-validation",
|
||
|
"make my day"
|
||
|
],
|
||
|
"author": "Sascha Goldhofer <github@saschagoldhofer.de> (https://github.com/sagold/)",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/sagold/json-schema-library/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/sagold/json-schema-library",
|
||
|
"devDependencies": {
|
||
|
"@types/chai": "^4.3.14",
|
||
|
"@types/glob": "^8.1.0",
|
||
|
"@types/mocha": "^10.0.6",
|
||
|
"@types/node": "^20.11.30",
|
||
|
"@types/valid-url": "^1.0.7",
|
||
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||
|
"@typescript-eslint/parser": "^7.4.0",
|
||
|
"chai": "^4.4.1",
|
||
|
"eslint": "^8.49.0",
|
||
|
"eslint-plugin-array-func": "^4.0.0",
|
||
|
"eslint-plugin-node": "^11.1.0",
|
||
|
"eslint-plugin-optimize-regex": "^1.2.0",
|
||
|
"eslint-plugin-promise": "^6.0.0",
|
||
|
"glob": "^10.3.10",
|
||
|
"json-schema-test-suite": "https://github.com/json-schema-org/JSON-Schema-Test-Suite#f5bd2f6c3184ecec15250a48b7086985402fce56",
|
||
|
"mocha": "^10.4.0",
|
||
|
"nyc": "^15.1.0",
|
||
|
"terser-webpack-plugin": "^5.3.10",
|
||
|
"ts-loader": "^9.5.1",
|
||
|
"ts-node": "^10.9.2",
|
||
|
"typescript": "^5.4.3",
|
||
|
"watch": "^1.0.1",
|
||
|
"webpack": "^5.91.0",
|
||
|
"webpack-cli": "^5.1.4"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@sagold/json-pointer": "^5.1.2",
|
||
|
"@sagold/json-query": "^6.1.3",
|
||
|
"deepmerge": "^4.3.1",
|
||
|
"fast-copy": "^3.0.2",
|
||
|
"fast-deep-equal": "^3.1.3",
|
||
|
"valid-url": "^1.0.9",
|
||
|
"smtp-address-parser": "1.0.10"
|
||
|
},
|
||
|
"resolutions": {
|
||
|
"json5": ">=2.2.3",
|
||
|
"lodash": ">=4",
|
||
|
"merge": ">=2",
|
||
|
"string-width": "4.2.3"
|
||
|
},
|
||
|
"publishConfig": {
|
||
|
"registry": "https://registry.npmjs.org"
|
||
|
}
|
||
|
}
|