-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
38 lines (38 loc) · 1.5 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
{
"name": "ts-stellar-xdr",
"version": "0.6.1",
"description": "Decoder/Encoder of XDR types used in Stellar",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"test": "node test/test",
"download-x": "cd x2JavaScript && ./generate && cd ..",
"generate": "rimraf generated && npm run generate-transaction-types && npm run generate-all-types",
"generate-transaction-types": "DESTINATION=./generated MAIN_FILE_NAME=mainTypes.ts GENERATE_TYPES=TransactionEnvelope,TransactionResult,TransactionMeta,EnvelopeType,TransactionSignaturePayload npx ts-node -T x2JavaScript/generated/stellar-xdr_generated.ts",
"generate-all-types": "DESTINATION=./generated MAIN_FILE_NAME=allTypes.ts npx ts-node -T x2JavaScript/generated/stellar-xdr_generated.ts",
"build-complete": "npm run download-x && npm run generate && npm run prettier && npm run build",
"prettier": "prettier --write \"./generated/**/*.ts\"",
"build": "rimraf lib && tsc --declaration",
"prepublishOnly": "npm run build-complete"
},
"author": "SatoshiPay Ltd",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^15.12.2",
"js-xdr": "file:./js-xdr",
"prettier": "^2.3.1",
"rimraf": "^2.6.2",
"ts-node": "^10.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.3.2"
},
"repository": {
"type": "git",
"url": "https://github.com/satoshipay/ts-stellar-xdr.git"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2
}
}