UNPKG

ts-variant-gen

Version:

Small utility to generate F#/Kotlin-style discriminated unions (variant types) for TypeScript projects

49 lines (48 loc) 1.13 kB
{ "name": "ts-variant-gen", "version": "0.0.9", "description": "Small utility to generate F#/Kotlin-style discriminated unions (variant types) for TypeScript projects", "main": "./lib/index.js", "types": "./lib/index.d.ts", "bin": { "ts-variant-gen": "bin/ts-variant-gen" }, "license": "MIT", "keywords": [ "unions", "discriminated-unions", "adt", "code-generation" ], "author": { "name": "Pavlushin Dmitry", "email": "pavlushindmitry@gmail.com" }, "files": [ "lib/**/*", "bin/**/*" ], "scripts": { "build": "tsc", "test": "jest", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/Eranikid/ts-variant-gen.git" }, "bugs": { "url": "https://github.com/Eranikid/ts-variant-gen/issues" }, "homepage": "https://github.com/Eranikid/ts-variant-gen#readme", "devDependencies": { "@types/jest": "^26.0.23", "@types/node": "^15.0.1", "jest": "^26.6.3", "ts-jest": "^26.5.5", "typescript": "^4.2.4" }, "dependencies": { "ts-node": "^9.1.1" } }