UNPKG

json-to-ts

Version:

Convert json object to typescript interfaces

45 lines (44 loc) 1.12 kB
{ "name": "json-to-ts", "version": "2.1.0", "description": "Convert json object to typescript interfaces", "keywords": [ "typescript", "ts", "convert", "json", "util", "lib", "types" ], "types": "build/src/index.d.ts", "main": "build/src/index.js", "scripts": { "prepublish": "npm run build", "build": "rm -rf ./build && tsc", "start": "nodemon -e ts -w src -x 'ts-node src/index.ts'", "test": "npm run build && mocha ./test/js-integration/index.js && mocha ./build/test", "test-reload": "nodemon -e ts -w test -w src -x 'npm test'" }, "author": "https://github.com/mariusalch", "repository": { "type": "git", "url": "https://github.com/MariusAlch/json-to-ts.git" }, "bugs": { "url": "https://github.com/MariusAlch/json-to-ts/issues" }, "license": "ISC", "dependencies": { "es7-shim": "^6.0.0", "hash.js": "^1.0.3", "pluralize": "^3.1.0" }, "devDependencies": { "@types/mocha": "2.2.40", "@types/node": "^7.0.12", "@types/pluralize": "^0.0.27", "mocha": "^6.1.4", "typescript": "^3.8.3" } }