forked from creditkarma/thrift-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.61 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
69
70
71
72
{
"name": "@statestitle/thrift-typescript",
"version": "4.1.1",
"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",
"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": "eslint --fix '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 --config .mocharc.json",
"test:integration": "NODE_ENV=test mocha --config .mocharc.integration.json"
},
"keywords": [
"thrift",
"typescript",
"code generator",
"rpc"
],
"author": "Credit Karma",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/statestitle/thrift-typescript"
},
"dependencies": {
"@creditkarma/thrift-parser": "^1.2.0",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"typescript": "^4.7.3"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.41",
"@types/thrift": "^0.10.11",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"chai": "^4.3.6",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^10.0.0",
"prettier": "^2.7.0",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"thrift": "^0.16.0"
}
}