-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
45 lines (45 loc) · 1.44 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
{
"name": "@creditkarma/thrift-utils",
"version": "0.0.9",
"description": "Utils functions for Thrift TypeScript",
"main": "./dist/main/index.js",
"types": "./dist/main/index.d.ts",
"files": [
"dist/main"
],
"scripts": {
"clean": "rimraf ./src/test/generated dist/",
"clean-all": "npm run clean && rimraf node_modules/ package-lock.json",
"lint": "tslint --fix './src/**/*.ts'",
"prebuild": "npm run clean && npm run codegen",
"build": "tsc",
"build:watch": "tsc --watch",
"codegen": "thrift-typescript --target thrift-server --rootDir ./ --sourceDir fixtures/thrift --outDir src/test/generated",
"pretest": "npm run build",
"test": "npm run lint && npm run test:only",
"test:only": "lab --coverage --coverage-path ./dist/main --sourcemaps ./dist/test",
"test:watch": "watch 'npm test' ./src",
"coverage": "lab --coverage --sourcemaps -r console -o stdout -r html -o ./coverage/coverage.html ./dist/test"
},
"keywords": [
"thrift",
"typescript",
"codec"
],
"author": "Nick Nance",
"license": "Apache-2.0",
"devDependencies": {
"@creditkarma/thrift-server-core": "^0.11.1",
"@creditkarma/thrift-typescript": "^3.0.3",
"@types/code": "^4.0.5",
"@types/node": "^8.0.34",
"code": "^5.2.4",
"lab": "^18.0.1",
"rimraf": "^2.6.3",
"tslint": "^5.12.0",
"typescript": "^3.2.x"
},
"peerDependencies": {
"@creditkarma/thrift-server-core": "0.11.x"
}
}