UNPKG

@kontent-ai/model-generator

Version:

This utility generates strongly-typed models for Delivery JS SDK, Migration toolkit or just general scripting to improve the experience when referencing Kontent.ai related objects.

80 lines (79 loc) 2.88 kB
{ "name": "@kontent-ai/model-generator", "version": "9.1.0", "description": "This utility generates strongly-typed models for Delivery JS SDK, Migration toolkit or just general scripting to improve the experience when referencing Kontent.ai related objects.", "bin": { "kontent-generate": "./dist/cli/app.js" }, "repository": { "type": "git", "url": "https://github.com/kontent-ai/model-generator-js" }, "author": "richard sustek", "license": "MIT", "engines": { "node": ">= 22" }, "keywords": [ "Kontent", "Kontent.ai", "Kontent.ai typings", "Kontent.ai models", "Kontent Model Generator", "Kontent.ai strongly typed models" ], "exports": "./dist/public_api.js", "types": "./dist/public_api.d.ts", "type": "module", "scripts": { "prepublishOnly": "npm run build", "build": "npm run biome:check && npm run eslint && npm run build:noemit && npm run clean && tsc --p tsconfig.build.json && npm run update:version", "build:noemit": "tsc --p tsconfig.json", "test": "npm run test:unit && npm run test:integration", "test:unit": "vitest run --config=vitest-unit.config.ts", "test:integration": "vitest run --config=vitest-integration.config.ts", "update:snapshots": "tsx scripts/clean-snapshots && vitest run --update", "sample:delivery": "tsx scripts/samples/delivery-sample", "sample:environment": "tsx scripts/samples/environment-sample", "sample:migration": "tsx scripts/samples/migration-sample", "sample:items": "tsx scripts/samples/item-sample", "sample:sync": "tsx scripts/samples/sync-sample", "sample:all": "npm run sample:delivery && npm run sample:environment && npm run sample:migration && npm run sample:items && npm run sample:sync", "show:help": "tsx lib/cli/app --help", "show:help:delivery-sdk": "tsx lib/cli/app delivery-sdk --help", "clean": "tsx scripts/clean.ts", "eslint": "eslint", "update:version": "tsx ./scripts/update-version.ts", "biome:check": "biome check", "biome:fix": "biome check --write", "biome:fix:unsafe": "biome check --write --unsafe" }, "dependencies": { "@kontent-ai/core-sdk": "11.0.2", "@kontent-ai/delivery-sdk": "16.2.0", "@kontent-ai/management-sdk": "7.9.1", "@kontent-ai/migration-toolkit": "2.8.0", "@kontent-ai/sync-sdk": "1.0.2", "coreSdkLegacy": "npm:@kontent-ai/core-sdk@10.11.0", "chalk": "5.4.1", "prettier": "3.6.2", "prettier-plugin-organize-imports": "4.1.0", "ts-pattern": "5.7.1", "yargs": "18.0.0" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@kontent-ai/biome-config": "0.4.0", "@kontent-ai/eslint-config": "2.0.1", "@types/node": "24.0.8", "@types/yargs": "17.0.33", "@typescript-eslint/eslint-plugin": "8.35.1", "dotenv-cli": "8.0.0", "eslint": "9.30.0", "tsx": "4.20.3", "typescript": "5.8.3", "typescript-eslint": "8.35.1", "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.4" } }