-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
183 lines (183 loc) · 8.55 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "iam-client-lib",
"version": "8.1.2",
"description": "Library for Decentralized Identity and Access Management",
"main": "lib/index.js",
"module": "lib.esm/index.js",
"types": "lib/src/index.d.ts",
"files": [
"lib",
"lib.esm"
],
"scripts": {
"lint": "eslint ./src/**/*.ts ./e2e/**/*.ts",
"prebuild": "rimraf lib lib.esm",
"build": "npm run build:contracts && npm run build:ts",
"build:patches": "copyfiles \"patches/**/*.patch\" dist && node scripts/patches-build.js",
"build:ts": "rollup -c",
"build:api_docs": "node scripts/make-docs.js && typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs true && rm docs/api/README.md && git add -A docs/",
"build:contracts": "npm run build:typechain:ens && npm run build:typechain:did && npm run build:typechain:roles && npm run build:typechain:staking",
"build:typechain:ens": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@ensdomains/ens/build/contracts/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 && npm run build:typechain:publicresolver && npm run build:typechain:roledefinitionresolverv2 && npm run build:typechain:credential-revocation-registry && npm run build:typechain:claims-revocation-registry",
"build:typechain:staking": "npm run build:typechain:staking-pool",
"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:roledefinitionresolverv2": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/credential-governance/dist/contracts/RoleDefinitionResolverV2.json\"",
"build:typechain:domainnotifier": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/credential-governance/dist/contracts/DomainNotifier.json\"",
"build:typechain:publicresolver": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/credential-governance/dist/contracts/PublicResolver.json\"",
"build:typechain:staking-pool": "typechain --target ethers-v5 --out-dir ethers-staking \"./node_modules/@energyweb/staking-pool/dist/contracts/StakingPool.sol/StakingPool.json\"",
"build:typechain:credential-revocation-registry": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@ew-did-registry/revocation/build/contracts/CredentialRevocationRegistry.json\"",
"build:typechain:claims-revocation-registry": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/onchain-claims/dist/contracts/ClaimsRevocationRegistry.json\"",
"prepare": "npm run build && patch-package",
"start-rpc": "run-with-testrpc -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 73799 -a 20 -e 10000000 -l=10000000",
"ganache": "ganache-cli -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 73799 -a 20 -e 10000000 -l=10000000",
"test:watch": "npm run start-rpc -- \"jest --coverage --env=./jest.env.js --watchAll\"",
"test": "npm run start-rpc -- \"jest --no-cache --env=./jest.env.js\"",
"test:watch:windows": "concurrently \"npm run start-rpc\" \"jest --coverage --env=./jest.env.js --watchAll\"",
"updateDomains": "npx ts-node scripts/update_domains",
"transferDomains": "npx ts-node scripts/transfer_domains",
"bench": "node benchmarks/runner"
},
"keywords": [
"decentralized",
"identity",
"access",
"library",
"energy web",
"iam",
"switchboard"
],
"author": "Kim Honoridez <[email protected]> (https://github.com/kim-energyweb)",
"repository": {
"type": "git",
"url": "git+https://github.com/energywebfoundation/iam-client-lib.git"
},
"homepage": "https://github.com/energywebfoundation/iam-client-lib.git#readme",
"license": "GPL-3.0-or-later",
"private": false,
"engines": {
"node": ">= 10.0.0",
"npm": ">= 6.0.0"
},
"dependencies": {
"@energyweb/credential-governance": "^2.2.1-alpha.319.0",
"@energyweb/ekc": "^0.6.7",
"@energyweb/onchain-claims": "^2.2.1-alpha.319.0",
"@energyweb/staking-pool": "^1.0.0-rc.14",
"@energyweb/vc-verification": "^2.2.1-alpha.319.0",
"@ensdomains/ens": "^0.6.2",
"@ew-did-registry/claims": "^0.9.0",
"@ew-did-registry/credentials-interface": "^0.9.0",
"@ew-did-registry/did": "^0.9.0",
"@ew-did-registry/did-document": "^0.9.0",
"@ew-did-registry/did-ethr-resolver": "^0.9.0",
"@ew-did-registry/did-ipfs-store": "^0.7.1-alpha.816.0",
"@ew-did-registry/did-resolver-interface": "^0.9.0",
"@ew-did-registry/jwt": "^0.9.0",
"@ew-did-registry/keys": "^0.9.0",
"@ew-did-registry/proxyidentity": "^0.9.0",
"@ew-did-registry/revocation": "^0.9.0",
"@gnosis.pm/safe-apps-provider": "^0.13.1",
"@metamask/detect-provider": "^1.2.0",
"@sphereon/pex": "^2.0.1",
"@sphereon/ssi-types": "^0.17.0",
"@spruceid/didkit-wasm": "^0.2.1",
"@spruceid/didkit-wasm-node": "^0.2.1",
"@types/jsonwebtoken": "^8.5.8",
"@walletconnect/ethereum-provider": "^1.7.7",
"axios": "^0.27.0",
"axios-retry": "^3.4.0",
"base64url": "^3.0.1",
"concurrently": "^6.1.0",
"didkit-wasm": "^0.1.9",
"didkit-wasm-node": "^0.1.6",
"eth-ens-namehash": "^2.0.8",
"ethers": "^5.7.1",
"js-sha3": "^0.9.0",
"jsonwebtoken": "^9.0.0",
"lodash.difference": "^4.5.0",
"multiformats": "^9.6.4",
"nats.ws": "^1.7.1",
"qs": "^6.9.4",
"set-cookie-parser": "^2.5.1",
"siwe": "^2.1.4",
"ts-interface-checker": "^1.0.2",
"tslib": "^2.0.3",
"uuid": "^7.0.3",
"winston": "^3.10.0"
},
"devDependencies": {
"@babel/core": "7.23.2",
"@babel/plugin-transform-regenerator": "7.22.10",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "7.23.2",
"@babel/runtime": "^7.17.2",
"@energyweb/eslint-config": "^0.1.0",
"@energyweb/prettier-config": "^0.0.1",
"@energyweb/semantic-release-config": "^1.1.1",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "^11.1.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^10.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.0.2",
"@semantic-release/npm": "^10.0.3",
"@semantic-release/release-notes-generator": "^11.0.2",
"@typechain/ethers-v5": "7.2.0",
"@types/jest": "^26.0.13",
"@types/lodash.difference": "^4.5.6",
"@types/promise-retry": "^1.1.3",
"@types/qs": "^6.9.5",
"@types/set-cookie-parser": "^2.4.2",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@walletconnect/types": "1.8.0",
"babel-jest": "26.6.3",
"conventional-changelog-conventionalcommits": "^4.6.3",
"coveralls": "^3.1.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-prettier": "^3.4.0",
"ganache-cli": "^6.12.2",
"husky": "^4.3.8",
"ipfs": "^0.66.0",
"ipfs-http-client": "^43.0.1",
"ipfsd-ctl": "3.1.0",
"jest": "^26.4.2",
"jest-config": "^26.4.2",
"jest-environment-node": "^27.1.0",
"jwt-decode": "^3.1.2",
"lint-staged": "^11.1.1",
"nock": "^13.2.8",
"patch-package": "^6.4.7",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^3.20.2",
"run-with-testrpc": "0.3.1",
"semantic-release": "^21.0.3",
"ts-jest": "26.5.6",
"typechain": "5.2.0",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "~3.17.0",
"typescript": "^4.0.2",
"wait-on": "^7.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build:api_docs"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"optionalDependencies": {
"fsevents": "^2.3.2"
}
}