UNPKG

@creditkarma/thrift-parser

Version:

A parser for Thrift written in TypeScript

57 lines (56 loc) 1.65 kB
{ "name": "@creditkarma/thrift-parser", "version": "2.0.0", "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", "typescript", "parser", "scanner", "ast", "rpc" ], "scripts": { "clean": "rimraf dist/", "clean:all": "rimraf dist/ node_modules/ package-lock.json", "lint": "tslint --fix 'src/**/*.ts'", "format": "prettier --write 'src/**/*.ts'", "prebuild": "npm run clean && npm run lint && npm run format", "build": "tsc", "test:cli": "ts-node ./src/main/bin/index.ts ./fixtures/errors.thrift", "pretest": "npm run build", "test": "npm run lint && NODE_ENV=test mocha --opts mocha.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.1.7", "@types/mocha": "^5.2.5", "@types/node": "^16.11.34", "chai": "^4.2.0", "mocha": "^5.2.0", "prettier": "^2.6.0", "rimraf": "^2.6.2", "ts-node": "^8.0.1", "tslint": "^5.12.1", "tslint-config-prettier": "^1.15.0", "tslint-plugin-prettier": "^2.0.0", "typescript": "4.6.x" } }