UNPKG

@creditkarma/thrift-parser

Version:

A parser for Thrift written in TypeScript

64 lines (63 loc) 1.62 kB
{ "name": "@creditkarma/thrift-parser", "version": "1.0.4", "description": "A parser for Thrift written in TypeScript", "main": "./dist/main/index.js", "types": "./dist/main/index.d.ts", "bin": { "thrift-parser": "./dist/main/bin/index.js" }, "files": [ "dist/main" ], "keywords": [ "thrift", "typexcript", "parser", "scanner", "ast" ], "scripts": { "clean": "rimraf dist/", "lint": "tslint --fix src/**/*.ts", "build": "npm run clean && npm run lint && tsc", "test:cli": "ts-node ./src/main/bin/index.ts ./fixtures/errors.thrift", "test": "npm run lint && NODE_ENV=test mocha --opts mocha.opts", "coverage": "NODE_ENV=test nyc mocha --opts mocha.cover.opts", "release:patch": "npm version patch && npm run release:publish", "release:minor": "npm version minor && npm run release:publish", "release:major": "npm version major && npm run release:publish", "release:publish": "git push --follow-tags" }, "author": "Credit Karma", "repository": { "type": "git", "url": "https://github.com/creditkarma/thrift-parser.git" }, "license": "Apache-2.0", "devDependencies": { "@types/chai": "^4.0.2", "@types/mocha": "^2.2.41", "@types/node": "^8.0.24", "chai": "^4.1.1", "mocha": "^3.5.0", "nyc": "^11.1.0", "rimraf": "^2.6.2", "ts-node": "^3.3.0", "tslint": "^5.7.0", "typescript": "~2.7.2" }, "nyc": { "include": [ "src/*.ts", "src/**/*.ts" ], "exclude": [ "src/tests/" ], "extension": [ ".ts" ], "all": true } }