-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
84 lines (82 loc) · 2.62 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
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "litentry-registrar",
"version": "1.0.0",
"description": "Litentry Polkadot/Kusama Registrar",
"main": "index.js",
"scripts": {
"test": "NODE_PATH=./ ./node_modules/.bin/mocha --exit -r ts-node/register tests/**/*.js && NODE_PATH=./ ./node_modules/.bin/jest --testPathIgnorePatterns \".*\\.js$\"",
"build": "rm -rf ./dist && ./node_modules/.bin/tsc && cp -R app/validator/templates dist/app/validator && cp -R app/pages/templates dist/app/pages",
"setup": "NODE_PATH=./ ts-node setup.ts",
"ci": "NODE_PATH=./ ts-node tests/ci.inspect.ts",
"lint": "NODE_PATH=./ ./node_modules/.bin/eslint --fix app/**/*.ts",
"start": "NODE_PATH=./dist pm2 start dist/app --restart-delay=2000 --name kusama-registrar",
"start:dev": "NODE_PATH=./ nodemon --ignore tests --ext ts,js --exec 'ts-node app/index.ts'",
"start:pro": "NODE_PATH=./ nodemon --ignore tests --ext ts,js --exec 'ts-node app/index.ts'"
},
"engines": {
"node": ">=14.15.0",
"npm": ">=7.11.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/litentry/litentry-registrar.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/litentry/litentry-registrar/issues"
},
"homepage": "https://github.com/litentry/litentry-registrar#readme",
"dependencies": {
"@polkadot/api": "^9.9.4",
"@polkadot/rpc-provider": "^9.9.4",
"@polkadot/types": "^9.9.4",
"@sendgrid/mail": "^7.6.0",
"axios": "^0.27.2",
"colors": "^1.4.0",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"hogan.js": "^3.0.2",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.20",
"lru-cache": "^7.10.2",
"matrix-js-sdk": "^15.1.1",
"mongodb": "^3.6.10",
"twitter-api-client": "^1.5.2",
"twitter-api-v2": "^1.14.0",
"uuid": "^8.3.1",
"winston": "^3.8.0",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@types/bson": "^4.2.0",
"@types/express": "^4.17.13",
"@types/hogan.js": "^3.0.1",
"@types/jest": "^27.0.3",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash": "^4.14.182",
"@types/lru-cache": "^7.10.10",
"@types/matrix-js-sdk": "^11.0.1",
"@types/mongodb": "3.6.10",
"chai": "^4.3.6",
"eslint": "^8.32.0",
"eslint-plugin-mocha": "10.0.5",
"husky": "^8.0.1",
"jest": "^27.4.3",
"mocha": "^10.0.0",
"nodemon": "^2.0.18",
"pm2": "^5.1.2",
"prettier": "^2.7.1",
"request": "^2.88.2",
"supertest": "^6.1.5",
"ts-jest": "^27.1.4",
"ts-node": "^9.1.1",
"typescript": "4.5.2"
},
"husky": {
"hooks": {
"pre-push": "eslint ."
}
}
}