UNPKG

thrift-fmt-ts

Version:

A formatter of Thrift, re-implement of python thrift-fmt

57 lines (56 loc) 1.49 kB
{ "name": "thrift-fmt-ts", "version": "1.3.0", "description": "A formatter of Thrift, re-implement of python thrift-fmt", "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "src/*.ts", "lib" ], "scripts": { "build": "tsc", "clean": "rm -rf ./lib/", "lint": "eslint .", "test": "mocha -r ts-node/register 'test/*.ts'", "coverage": "tsc && nyc --reporter=text --reporter=html --reporter=lcov npm run test", "typecheck": "tsc --noEmit", "prepack": "npm run clean && npm run build && npm run lint" }, "repository": { "type": "git", "url": "git+https://github.com/thrift-labs/thrift-fmt-ts" }, "keywords": [ "Thrift", "Formatter", "thrift-fmt" ], "author": "alingse", "license": "MIT", "bugs": { "url": "https://github.com/thrift-labs/thrift-fmt-ts/issues" }, "homepage": "https://github.com/thrift-labs/thrift-fmt-ts#readme", "publishConfig": { "access": "public" }, "dependencies": { "thrift-parser-ts": "^1.0.8" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/assert": "^1.5.6", "@types/chai": "^4.3.1", "@types/mocha": "^9.1.1", "@typescript-eslint/eslint-plugin": "^5.27.1", "@typescript-eslint/parser": "^5.27.1", "chai": "^4.3.6", "eslint": "^8.17.0", "mocha": "^10.0.0", "nyc": "^15.1.0", "source-map-support": "^0.5.21", "ts-node": "^10.9.1", "typescript": "^4.7.2" } }