-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
136 lines (136 loc) · 5.88 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "passport-did-auth",
"version": "2.1.0-alpha.1",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"start-rpc": "run-with-testrpc -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" --port 8544 --chainId 73799 --accounts 20 --gasLimit=10000000",
"ganache": "ganache-cli -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" --port 8544 --accounts 20 --networkId=9 --gasLimit=10000000",
"prepare": "npm run build && husky install",
"build": "rm -rf dist && rm -rf ethers && npm run build:contracts && npm run build:ts",
"build:api_docs": "rm -rf docs/api && typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true",
"build:ts": "tsc",
"build:contracts": "npm run build:typechain:ens && npm run build:typechain:did && npm run build:typechain:roles",
"build:typechain:ens": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@ensdomains/ens-contracts/artifacts/contracts/registry/ENSRegistry.sol/ENSRegistry.json\"",
"build:typechain:did": "npm run build:typechain:offerableIdentity && npm run build:typechain:identityManager",
"build:typechain:roles": " npm run build:typechain:claimManager && npm run build:typechain:roledefinitionresolver && npm run build:typechain:domainnotifier",
"build:typechain:offerableIdentity": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@ew-did-registry/proxyidentity/build/contracts/OfferableIdentity.json\"",
"build:typechain:identityManager": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@ew-did-registry/proxyidentity/build/contracts/IdentityManager.json\"",
"build:typechain:claimManager": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/onchain-claims/dist/contracts/ClaimManager.json\"",
"build:typechain:roledefinitionresolver": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/credential-governance/dist/contracts/RoleDefinitionResolver.json\"",
"build:typechain:domainnotifier": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/credential-governance/dist/contracts/DomainNotifier.json\"",
"test": "npm run start-rpc -- \"jest --detectOpenHandles\"",
"test:watch": "npm run start-rpc -- \"jest --watchAll --detectOpenHandles\"",
"lint": "eslint -c .eslintrc.js --ext .ts lib test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/energywebfoundation/passport-did-auth.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/energywebfoundation/passport-did-auth/issues"
},
"homepage": "https://github.com/energywebfoundation/passport-did-auth#readme",
"dependencies": {
"@energyweb/credential-governance": "2.2.1-alpha.321.0",
"@energyweb/onchain-claims": "2.2.1-alpha.321.0",
"@energyweb/vc-verification": "2.2.1-alpha.321.0",
"@ensdomains/ens-contracts": "^0.0.21",
"@ew-did-registry/claims": "0.8.1-alpha.1140.0",
"@ew-did-registry/did": "0.8.1-alpha.1140.0",
"@ew-did-registry/did-document": "0.8.1-alpha.1140.0",
"@ew-did-registry/did-ethr-resolver": "0.8.1-alpha.1140.0",
"@ew-did-registry/did-ipfs-store": "0.7.1-alpha.816.0",
"@ew-did-registry/did-resolver-interface": "0.8.1-alpha.1140.0",
"@ew-did-registry/jwt": "0.8.1-alpha.1140.0",
"@ew-did-registry/keys": "0.8.1-alpha.1140.0",
"axios": "0.27.0",
"base64url": "3.0.1",
"cockatiel": "2.0.2",
"eth-ens-namehash": "2.0.8",
"ethereumjs-abi": "0.6.8",
"ethers": "5.7.2",
"ganache-cli": "6.12.2",
"js-sha3": "0.8.0",
"jsonwebtoken": "9.0.0",
"multiformats": "9.7.0",
"passport": "0.6.0",
"passport-strategy": "1.0.0",
"redact-pii": "3.4.0",
"siwe": "2.1.3",
"typescript": "4.9.4"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@energyweb/eslint-config": "0.1.0",
"@energyweb/prettier-config": "0.0.1",
"@energyweb/semantic-release-config": "^1.1.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^9.0.0",
"@semantic-release/release-notes-generator": "^10.0.3",
"@typechain/ethers-v5": "^7.0.1",
"@types/chai": "^4.3.5",
"@types/jest": "^29.1.0",
"@types/jsonwebtoken": "^9.0.1",
"@types/passport": "^1.0.4",
"@types/supertest": "^2.0.12",
"@types/wait-on": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"babel-jest": "^29.1.0",
"chai": "^4.3.7",
"chai-arrays": "2.2.0",
"chai-as-promised": "7.1.1",
"conventional-changelog-conventionalcommits": "^4.6.3",
"cors": "^2.8.5",
"didkit-wasm-node": "0.1.6",
"dotenv": "^10.0.0",
"ec-key": "0.0.4",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"express": "^4.17.1",
"husky": "^7.0.2",
"iam-client-lib": "^8.0.1-alpha.3",
"ipfs": "^0.65.0",
"ipfs-http-client": "^43.0.0",
"ipfsd-ctl": "3.1.0",
"jest": "^27.1.1",
"lint-staged": "^12.1.2",
"mocha": "^9.1.1",
"mock-http-server": "^1.4.5",
"morgan": "^1.10.0",
"nock": "^13.2.7",
"passport-jwt": "^4.0.1",
"prettier": "^2.5.1",
"run-with-testrpc": "^0.3.1",
"semantic-release": "^19.0.2",
"supertest": "^6.1.6",
"ts-node": "^10.9.1",
"typechain": "^5.2.0",
"typedoc": "^0.23.21",
"typedoc-plugin-markdown": "^3.14.0",
"wait-on": "^6.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && rm -rf docs/api && typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true && git add -A ."
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}