This commit is contained in:
49
package.json
Normal file
49
package.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user