This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.97 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
{
"name": "hmt_library",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "mocha -t 50000 -r ts-node/register 'tests/**/*.ts'",
"generate": "yarn generate:defs && yarn generate:meta",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package '.' --input ./src/typegen/src/interfaces",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package '.' --endpoint ./src/typegen/hmt-metadata.json --output ./src/typegen/src/interfaces --strict",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"compile": "tsc --watch",
"start": "ts-node src/express/index.ts",
"prettier:fix": "prettier --write .",
"prettier": "prettier --check .",
"express": "nodemon src/express/index.ts",
"purge": "rimraf '!(node_modules)/**/*.js'"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@polkadot/dev": "^0.60.13",
"@polkadot/typegen": "^2.10.1",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.9",
"@types/expect": "^24.3.0",
"@types/express": "^4.17.9",
"@types/mocha": "^8.0.4",
"@types/morgan": "^1.9.2",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"axios": "^0.21.1",
"chai": "^4.2.0",
"eslint": "^7.15.0",
"husky": "^4.3.5",
"mocha": "^8.2.1",
"nodemon": "^1.19.4",
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"should": "^13.2.3",
"ts-mocha": "^8.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.2"
},
"dependencies": {
"@polkadot/api": "^2.10.1",
"@polkadot/keyring": "^4.2.1",
"@polkadot/types": "^2.10.1",
"aws-sdk": "^2.799.0",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"morgan": "^1.10.0",
"yup": "^0.32.8"
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn prettier"
}
}
}