UNPKG

@smile/strapi-content-type-to-ts

Version:

A script to generate TypeScript types (intended to be used for API calls) from Strapi content types schemas

42 lines (41 loc) 998 B
{ "name": "@smile/strapi-content-type-to-ts", "version": "5.0.1", "description": "A script to generate TypeScript types (intended to be used for API calls) from Strapi content types schemas", "scripts": { "prepare": "npm run build", "build": "tsc || true", "postversion": "git push && git push --tags" }, "bin": { "strapi-content-type-to-ts": "bin/strapi-content-type-to-ts" }, "files": [ "bin/**/*", "dist/**/*" ], "keywords": [ "Strapi", "content-type", "typescript", "ts" ], "author": "Maxime Robert <marob@smile.fr>", "repository": "github:Smile-SA/strapi-content-type-to-ts", "homepage": "https://github.com/Smile-SA/strapi-content-type-to-ts", "license": "MIT", "dependencies": { "commander": "^10.0.0", "glob": "^10.2.6" }, "devDependencies": { "typescript": "5.0.3" }, "peerDependencies": { "@strapi/strapi": "*" }, "engines": { "node": ">=14.19.1 <=18.x.x", "npm": ">=6.0.0" } }