-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
70 lines (70 loc) · 2.36 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
{
"version": "1.8.2",
"license": "MIT",
"main": "dist/index.js",
"browser": "dist-web/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"dist-web"
],
"engines": {
"node": ">=14.5.0"
},
"scripts": {
"start": "tsdx watch",
"build": "yarn build:web && yarn build:node",
"build:node": "tsdx build --tsconfig tsconfig.json --entry src/index.ts",
"build:web": "tsdx build --tsconfig tsconfig.web.json --entry src/index.web.ts && rm -rf dist-web && mv dist dist-web",
"build:proto": "buf generate buf.build/tdex-network/tdex-protobuf",
"build:trade-swagger": "npx swagger-typescript-api -p https://raw.githubusercontent.com/tdex-network/tdex-protobuf/v1/api-spec/openapi/swagger/tdex/v1/trade.swagger.json -o src/api-spec/openapi/swagger/trade --axios --modular",
"build:transport-swagger": "npx swagger-typescript-api -p https://raw.githubusercontent.com/tdex-network/tdex-protobuf/v1/api-spec/openapi/swagger/tdex/v1/transport.swagger.json -o src/api-spec/openapi/swagger/transport --axios --modular",
"build:swagger": "yarn build:transport-swagger && yarn build:trade-swagger",
"test": "tsdx test",
"test:debug": "tsdx test --no-cache --runInBand",
"lint": "tsdx lint src test --ignore-pattern src/api-spec/*",
"lint:fix": "tsdx lint src test --fix --ignore-pattern src/api-spec/*",
"prepare": "yarn build:proto && yarn build:swagger && yarn build"
},
"peerDependencies": {},
"jest": {
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "tdex-sdk",
"author": "TDEX Developers",
"devDependencies": {
"@types/jest": "^25.2.3",
"@types/node": "^14.14.2",
"axios": "^0.27.2",
"husky": "^4.2.3",
"swagger-typescript-api": "^10.0.1",
"tiny-secp256k1": "^2.2.1",
"tsdx": "0.14.0",
"typescript": "3.9.10"
},
"dependencies": {
"@grpc/grpc-js": "^1.3.3",
"@protobuf-ts/grpcweb-transport": "^2.8.1",
"@protobuf-ts/runtime": "^2.8.1",
"@protobuf-ts/runtime-rpc": "^2.8.1",
"ecpair": "^2.0.1",
"ldk": "^0.5.8",
"slip77": "0.2.0",
"tslib": "^2.3.0"
},
"resolutions": {
"swagger-typescript-api/**/typescript": "4.7.4",
"swagger-typescript-api/**/axios": "0.27.2"
}
}