UNPKG

@jsonhero/json-infer-types

Version:
92 lines 2.61 kB
{ "name": "@jsonhero/json-infer-types", "version": "1.2.11", "description": "Infer the types of a JSON value", "homepage": "https://github.com/jsonhero-io/json-infer-types", "bugs": { "url": "https://github.com/jsonhero-io/json-infer-types/issues" }, "repository": { "type": "git", "url": "https://github.com/jsonhero-io/json-infer-types.git" }, "types": "lib/index.d.ts", "main": "./lib/index.js", "module": "./lib/index.mjs", "files": [ "/lib" ], "publishConfig": { "access": "public" }, "scripts": { "clean": "rimraf lib", "check-types": "tsc --noEmit", "test": "jest --runInBand --coverage", "test:node": "node test-build.js", "test:badges": "npm t && jest-coverage-badges --output ./badges", "build": "rollup -c", "build:watch": "tsc --watch", "prepublishOnly": "npm run clean && npm run check-types && npm run format:check && npm run lint && npm test && npm run build && npm run test:node", "lint": "eslint . --ext .ts", "lint-and-fix": "eslint . --ext .ts --fix", "format": "prettier --config .prettierrc 'src/**/*.ts' --write && prettier --config .prettierrc 'tests/**/*.ts' --write", "format:check": "prettier --config .prettierrc --list-different 'src/**/*.ts'" }, "engines": { "node": "16" }, "keywords": [ "json", "types", "schema", "generation" ], "author": "Eric Allam", "license": "MIT", "devDependencies": { "@rollup/plugin-node-resolve": "^13.1.2", "@tsconfig/recommended": "^1.0.1", "@types/jest": "^27.0.2", "@types/jsbn": "^1.2.30", "@types/jsonwebtoken": "^8.5.8", "@types/node": "^16.11.7", "@types/uuid": "^8.3.3", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "eslint": "^8.5.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "jest": "^27.3.1", "jest-coverage-badges": "^1.1.2", "prettier": "^2.5.1", "rimraf": "^3.0.2", "rollup": "^2.62.0", "rollup-plugin-polyfill-node": "^0.8.0", "rollup-plugin-typescript2": "^0.31.1", "ts-jest": "^27.0.7", "ts-node": "^10.4.0", "typescript": "^4.4.4" }, "dependencies": { "ip-address": "^8.1.0", "json5": "^2.2.0", "jwt-decode": "^3.1.2", "uuid": "^8.3.2" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "coverageReporters": [ "json-summary", "text", "lcov" ] }, "husky": { "hooks": { "pre-commit": "npm run prettier-format && npm run lint" } } }