1 | {
|
2 | "name": "@jsonhero/schema-infer",
|
3 | "version": "0.1.5",
|
4 | "description": "Infers JSON Schemas from example JSON",
|
5 | "homepage": "https://github.com/jsonhero-io/schema-infer",
|
6 | "bugs": {
|
7 | "url": "https://github.com/jsonhero-io/schema-infer/issues"
|
8 | },
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/jsonhero-io/schema-infer.git"
|
12 | },
|
13 | "exports": "./lib/index.js",
|
14 | "types": "lib/index.d.ts",
|
15 | "files": [
|
16 | "/lib"
|
17 | ],
|
18 | "publishConfig": {
|
19 | "access": "public"
|
20 | },
|
21 | "scripts": {
|
22 | "test": "jest --runInBand --coverage",
|
23 | "test:watch": "jest --runInBand --watch",
|
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 | "schema",
|
38 | "json-schema"
|
39 | ],
|
40 | "author": "Eric Allam",
|
41 | "license": "MIT",
|
42 | "devDependencies": {
|
43 | "@tsconfig/node16": "^1.0.2",
|
44 | "@types/jest": "^27.0.2",
|
45 | "@types/lodash.omit": "^4.5.6",
|
46 | "@types/node": "^16.11.7",
|
47 | "@typescript-eslint/eslint-plugin": "^5.8.1",
|
48 | "@typescript-eslint/parser": "^5.8.1",
|
49 | "ajv": "^8.8.2",
|
50 | "ajv-formats": "^2.1.1",
|
51 | "eslint": "^8.5.0",
|
52 | "eslint-config-prettier": "^8.3.0",
|
53 | "eslint-plugin-prettier": "^4.0.0",
|
54 | "jest": "^27.3.1",
|
55 | "jest-coverage-badges": "^1.1.2",
|
56 | "lodash.omit": "^4.5.0",
|
57 | "prettier": "^2.5.1",
|
58 | "ts-jest": "^27.0.7",
|
59 | "ts-node": "^10.4.0",
|
60 | "typescript": "^4.4.4",
|
61 | "yargs": "^17.3.1"
|
62 | },
|
63 | "jest": {
|
64 | "preset": "ts-jest",
|
65 | "testEnvironment": "node",
|
66 | "coverageReporters": [
|
67 | "json-summary",
|
68 | "text",
|
69 | "lcov"
|
70 | ]
|
71 | },
|
72 | "husky": {
|
73 | "hooks": {
|
74 | "pre-commit": "npm run prettier-format && npm run lint"
|
75 | }
|
76 | },
|
77 | "dependencies": {
|
78 | "@jsonhero/json-infer-types": "1.2.x",
|
79 | "@jsonhero/json-schema-fns": "^0.0.1",
|
80 | "ts-pattern": "^3.3.4",
|
81 | "lodash.omit": "^4.5.0"
|
82 | },
|
83 | "bin": {
|
84 | "schema-infer": "./cli/schema-infer.js"
|
85 | }
|
86 | } |
\ | No newline at end of file |