UNPKG

2.11 kBJSONView Raw
1{
2 "name": "@jsonhero/json-infer-types",
3 "version": "1.0.2",
4 "description": "Infer the types of a JSON value",
5 "homepage": "https://github.com/jsonhero-io/json-infer-types",
6 "bugs": {
7 "url": "https://github.com/jsonhero-io/json-infer-types/issues"
8 },
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/jsonhero-io/json-infer-types.git"
12 },
13 "exports": "./lib/index.js",
14 "types": "lib/index.d.ts",
15 "type": "module",
16 "files": [
17 "/lib"
18 ],
19 "publishConfig": {
20 "access": "public"
21 },
22 "scripts": {
23 "test": "jest --runInBand --coverage",
24 "test:badges": "npm t && jest-coverage-badges --output ./badges",
25 "build": "tsc",
26 "build:watch": "tsc --watch",
27 "prepublishOnly": "tsc",
28 "lint": "eslint . --ext .ts",
29 "lint-and-fix": "eslint . --ext .ts --fix",
30 "prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write && prettier --config .prettierrc 'tests/**/*.ts' --write"
31 },
32 "engines": {
33 "node": "16"
34 },
35 "keywords": [
36 "json",
37 "types",
38 "schema",
39 "generation"
40 ],
41 "author": "Eric Allam",
42 "license": "MIT",
43 "devDependencies": {
44 "@tsconfig/recommended": "^1.0.1",
45 "@types/jest": "^27.0.2",
46 "@types/jsbn": "^1.2.30",
47 "@types/mime-types": "^2.1.1",
48 "@types/node": "^16.11.7",
49 "@types/uuid": "^8.3.3",
50 "@typescript-eslint/eslint-plugin": "^5.8.1",
51 "@typescript-eslint/parser": "^5.8.1",
52 "eslint": "^8.5.0",
53 "eslint-config-prettier": "^8.3.0",
54 "eslint-plugin-prettier": "^4.0.0",
55 "husky": "^7.0.4",
56 "jest": "^27.3.1",
57 "jest-coverage-badges": "^1.1.2",
58 "prettier": "^2.5.1",
59 "ts-jest": "^27.0.7",
60 "ts-node": "^10.4.0",
61 "typescript": "^4.4.4"
62 },
63 "dependencies": {
64 "ip-address": "^8.1.0",
65 "json5": "^2.2.0",
66 "mime-types": "^2.1.34",
67 "uuid": "^8.3.2"
68 },
69 "jest": {
70 "preset": "ts-jest",
71 "testEnvironment": "node",
72 "coverageReporters": [
73 "json-summary",
74 "text",
75 "lcov"
76 ]
77 },
78 "husky": {
79 "hooks": {
80 "pre-commit": "npm run prettier-format && npm run lint"
81 }
82 }
83}