UNPKG

@mojotech/json-type-validation

Version:

runtime type checking and validation of untyped JSON data

90 lines (89 loc) 2.6 kB
{ "name": "@mojotech/json-type-validation", "version": "3.1.0", "description": "runtime type checking and validation of untyped JSON data", "keywords": [ "TypeScript", "JSON" ], "main": "dist/index.umd.js", "module": "dist/index.es5.js", "typings": "dist/types/index.d.ts", "files": [ "dist" ], "author": "Elias Mulhall <elias@mojotech.com>", "repository": { "type": "git", "url": "https://github.com/mojotech/json-type-validation" }, "bugs": { "url": "https://github.com/mojotech/json-type-validation/issues" }, "homepage": "https://github.com/mojotech/json-type-validation", "license": "MIT", "engines": { "node": ">=6.0.0" }, "scripts": { "lint": "tslint -t codeFrame --project tsconfig-test.json", "prebuild": "rimraf dist", "build": "tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme markdown --readme DOCS.md --mdHideSources --mode modules --excludeNotExported src", "start": "rollup -c rollup.config.ts -w", "test": "jest", "test:watch": "jest --watch", "test:prod": "npm run lint && npm run test -- --coverage --no-cache", "typecheck": "tsc --lib es2015 --noEmit --strict test/**.ts", "typecheck:watch": "tsc -w --lib es2015 --noEmit --strict test/**.ts" }, "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/" ], "coverageThreshold": { "global": { "branches": 90, "functions": 95, "lines": 95, "statements": 95 } }, "collectCoverage": true }, "devDependencies": { "@types/jest": "^22.2.3", "@types/lodash.isequal": "^4.5.3", "@types/node": "^10.5.3", "colors": "^1.1.2", "cross-env": "^5.0.1", "jest": "^22.0.2", "prettier": "^1.4.4", "rimraf": "^2.6.1", "rollup": "^0.53.0", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.9.0", "ts-jest": "^22.0.0", "ts-node": "^4.1.0", "tslint": "^5.11.0", "tslint-config-prettier": "^1.14.0", "tslint-config-standard": "^7.1.0", "typedoc": "^0.13.0", "typedoc-plugin-markdown": "^1.0.13", "typescript": "~3.1.0" }, "dependencies": { "lodash.isequal": "^4.5.0" } }