-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
128 lines (128 loc) · 4.03 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
{
"name": "@0xpolygonid/js-sdk",
"version": "1.10.2",
"description": "SDK to work with Polygon ID",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
"exports": {
".": {
"node": {
"import": "./dist/node/esm/index.js",
"require": "./dist/node/cjs/index.js"
},
"browser": "./dist/browser/esm/index.js",
"umd": "./dist/browser/umd/index.js",
"types": "./dist/types/index.d.ts"
}
},
"types": "dist/types/index.d.ts",
"source": "./src/index.ts",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf ./dist",
"build": "npm run clean && npm run build:node && npm run build:browser",
"build:node": "npm run build:tsc && npm run build:esm",
"build:esm": "tsc --outDir dist/node/esm --declaration --declarationDir dist/types",
"build:browser": "rollup -c rollup.config.mjs --failAfterWarnings",
"build:tsc": "tsc --module commonjs --outDir dist/node/cjs",
"doc:extract": "ts-node ./scripts/doc-extract.ts",
"doc:documenter": "ts-node ./scripts/doc-documenter.ts",
"doc:build": "npm run doc:extract && npm run doc:documenter",
"doc:watch:website": "ts-node ./scripts/doc-watch.ts",
"tsc:declaration:watch": "tsc --watch --module commonjs --emitDeclarationOnly",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"strict\": false, \"module\": \"CommonJS\"}' mocha",
"lint": "eslint --fix --ext .ts src/** tests/**",
"lint:check": "eslint --ext .ts src/** tests/**",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier \"src/**/*.ts\" \"tests/**/*.ts\" --check"
},
"repository": {
"type": "git",
"url": "https://github.com/0xPolygonID/js-sdk.git"
},
"author": "",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/0xPolygonID/js-sdk/issues"
},
"homepage": "https://github.com/0xPolygonID/js-sdk#readme",
"devDependencies": {
"@gr2m/fetch-mock": "9.11.0-pull-request-644.1",
"@iden3/eslint-config": "https://github.com/iden3/eslint-config",
"@microsoft/api-documenter": "^7.8.20",
"@microsoft/api-extractor": "^7.9.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.4",
"@rollup/plugin-virtual": "^3.0.2",
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "^4.3.9",
"@types/chai-as-promised": "^7.1.7",
"@types/chai-spies": "^1.0.5",
"@types/elliptic": "^6.4.16",
"@types/fs-extra": "^11.0.1",
"@types/jsonld": "^1.5.11",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.9",
"@types/pubsub-js": "^1.8.6",
"@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"chokidar": "^3.5.3",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "10.2.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"rollup": "^4.2.0",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"peerDependencies": {
"@iden3/js-crypto": "1.1.0",
"@iden3/js-iden3-core": "1.3.1",
"@iden3/js-jsonld-merklization": "1.2.0",
"@iden3/js-jwz": "1.4.0",
"@iden3/js-merkletree": "1.2.0",
"ffjavascript": "0.2.63",
"rfc4648": "1.5.3",
"snarkjs": "0.7.3"
},
"dependencies": {
"@noble/curves": "^1.4.0",
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"did-jwt": "6.11.6",
"did-resolver": "4.1.0",
"elliptic": "6.5.4",
"ethers": "6.8.0",
"idb-keyval": "6.2.0",
"js-sha3": "0.9.3",
"jsonld": "8.3.1",
"pubsub-js": "1.9.4",
"uuid": "9.0.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=20.11.0"
}
}