diff --git a/package.json b/package.json new file mode 100644 index 0000000..24defbe --- /dev/null +++ b/package.json @@ -0,0 +1,49 @@ +{ + "name": "type-from-json", + "version": "1.0.0", + "description": "A CLI tool that automatically generates TypeScript type definitions from runtime API responses or JSON files", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "bin": { + "type-from-json": "./dist/index.js" + }, + "scripts": { + "build": "tsc", + "dev": "tsc --watch", + "lint": "eslint src/**/*.ts", + "format": "prettier --write src/**/*.ts", + "test": "jest --coverage", + "prepare": "npm run build" + }, + "keywords": [ + "typescript", + "types", + "cli", + "json", + "type-generation" + ], + "author": "", + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "chokidar": "^4.0.0", + "commander": "^12.0.0", + "glob": "^11.0.0" + }, + "devDependencies": { + "@types/glob": "^8.1.0", + "@types/jest": "^29.5.0", + "@types/node": "^20.0.0", + "@typescript-eslint/eslint-plugin": "^8.54.0", + "@typescript-eslint/parser": "^8.54.0", + "eslint": "^9.39.2", + "jest": "^29.0.0", + "prettier": "^3.0.0", + "ts-jest": "^29.0.0", + "typescript": "^5.0.0", + "typescript-eslint": "^8.54.0" + }, + "engines": { + "node": ">=18.0.0" + } +}