-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
68 lines (68 loc) · 2.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "@creditkarma/thrift-typescript",
"version": "3.7.6",
"description": "Generate TypeScript from Thrift IDL files",
"main": "./dist/main/index.js",
"types": "./dist/main/index.d.ts",
"bin": {
"thrift-typescript": "./dist/main/bin/index.js"
},
"files": [
"dist/main"
],
"scripts": {
"clean": "rimraf ./dist ./**/codegen",
"clean:all": "npm run clean && rimraf ./node_modules package-lock.json",
"codegen": "node ./dist/main/bin/index.js --target apache --sourceDir ./src/tests/integration/thrift --outDir ./src/tests/integration/apache/codegen",
"prebuild": "npm run clean && npm run lint && npm run format",
"build": "npm run build:only",
"build:only": "tsc",
"prebuild:test": "npm run build && npm run codegen",
"build:test": "npm run build:test:only",
"build:test:only": "tsc -p tsconfig.test.json",
"build:watch": "tsc --watch",
"lint": "tslint --fix 'src/**/*.ts'",
"format": "prettier --write 'src/**/*.ts'",
"move:fixtures": "rimraf dist/tests/unit/fixtures && cp -r src/tests/unit/fixtures dist/tests/unit/fixtures",
"pretest": "npm run build:test && npm run move:fixtures",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "NODE_ENV=test mocha --opts mocha.opts",
"test:integration": "NODE_ENV=test mocha --opts mocha.integration.opts"
},
"keywords": [
"thrift",
"typescript",
"code generator",
"rpc"
],
"author": "Credit Karma",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/creditkarma/thrift-typescript"
},
"dependencies": {
"@creditkarma/thrift-parser": "^1.2.0",
"@types/fs-extra": "^7.0.0",
"fs-extra": "^8.0.1",
"glob": "^7.1.2",
"typescript": "3.5.x"
},
"devDependencies": {
"@types/chai": "^4.1.5",
"@types/glob": "^7.1.0",
"@types/mocha": "^5.2.5",
"@types/node": "^8.0.32",
"@types/rimraf": "^2.0.2",
"@types/thrift": "^0.10.7",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"prettier": "^1.17.0",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.9",
"thrift": "^0.11.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-plugin-prettier": "^2.0.0"
}
}