diff --git a/package-lock.json b/package-lock.json index 41b5a04..5d564a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "@jsonhero/json-infer-types": "1.0.9", + "@jsonhero/json-schema-fns": "^0.0.1", "ts-pattern": "^3.3.4" }, "bin": { @@ -1017,6 +1018,19 @@ "node": "16" } }, + "node_modules/@jsonhero/json-schema-fns": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@jsonhero/json-schema-fns/-/json-schema-fns-0.0.1.tgz", + "integrity": "sha512-9/ykTgok+9yAQpYwqFI7yvDDGfN36uZEEVzUgLFktT/lQcDERX0NsRZsb1PPurnU3NortUK4XhnYKMu4cRMH2Q==", + "dependencies": { + "deepmerge": "^4.2.2", + "lodash.omit": "^4.5.0", + "ts-pattern": "^3.3.4" + }, + "engines": { + "node": "16" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -2039,7 +2053,6 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -4122,8 +4135,7 @@ "node_modules/lodash.omit": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", - "dev": true + "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=" }, "node_modules/lodash.sortby": { "version": "4.7.0", @@ -6294,6 +6306,16 @@ "uuid": "^8.3.2" } }, + "@jsonhero/json-schema-fns": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@jsonhero/json-schema-fns/-/json-schema-fns-0.0.1.tgz", + "integrity": "sha512-9/ykTgok+9yAQpYwqFI7yvDDGfN36uZEEVzUgLFktT/lQcDERX0NsRZsb1PPurnU3NortUK4XhnYKMu4cRMH2Q==", + "requires": { + "deepmerge": "^4.2.2", + "lodash.omit": "^4.5.0", + "ts-pattern": "^3.3.4" + } + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -7085,8 +7107,7 @@ "deepmerge": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" }, "delayed-stream": { "version": "1.0.0", @@ -8665,8 +8686,7 @@ "lodash.omit": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", - "dev": true + "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=" }, "lodash.sortby": { "version": "4.7.0", diff --git a/package.json b/package.json index 6c5af15..fdea34b 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "@jsonhero/ts-node-package-template", + "name": "@jsonhero/schema-infer", "version": "0.0.1", - "description": "A template for creating a new TypeScript package", - "homepage": "https://github.com/jsonhero-io/ts-node-package-template", + "description": "Infers JSON Schemas from example JSON", + "homepage": "https://github.com/jsonhero-io/schema-infer", "bugs": { - "url": "https://github.com/jsonhero-io/ts-node-package-template/issues" + "url": "https://github.com/jsonhero-io/schema-infer/issues" }, "repository": { "type": "git", - "url": "https://github.com/jsonhero-io/ts-node-package-template.git" + "url": "https://github.com/jsonhero-io/schema-infer.git" }, "exports": "./lib/index.js", "types": "lib/index.d.ts", @@ -32,8 +32,12 @@ "engines": { "node": "16" }, - "keywords": [], - "author": "Author Name", + "keywords": [ + "json", + "schema", + "json-schema" + ], + "author": "Eric Allam", "license": "MIT", "devDependencies": { "@tsconfig/node16": "^1.0.2", @@ -72,9 +76,10 @@ }, "dependencies": { "@jsonhero/json-infer-types": "1.0.9", + "@jsonhero/json-schema-fns": "^0.0.1", "ts-pattern": "^3.3.4" }, "bin": { "schema-infer": "./cli/schema-infer.js" } -} +} \ No newline at end of file