forked from 0xPolygonID/js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.35 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
{
"name": "@0xpolygonid/js-sdk",
"version": "1.0.0-beta.18",
"description": "SDK to work with Polygon ID",
"main": "dist/cjs/index.js",
"module": "dist/esm_esbuild/index.js",
"source": "./src/index.ts",
"esm:esbuild": "dist/esm_esbuild/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:umd && npm run build:esm:esbuild && npm run build:tsc",
"build:esm:esbuild": "node ./scripts/esm.config.js",
"build:umd": "node ./scripts/umd.config.js",
"build:tsc": "tsc --module commonjs",
"build:esm": "tsc -p config/tsconfig.esm.json",
"clean": "rimraf ./dist",
"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": "mocha",
"test:watch": "mocha --watch",
"lint": "eslint --fix --ext .js,.ts src/**",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"deps:check": "madge --circular --extensions ts ./"
},
"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": {
"@4c/fetch-mock": "^8.0.0",
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@microsoft/api-documenter": "^7.20.1",
"@microsoft/api-extractor": "^7.34.4",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/jsonld": "^1.4.8",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.19",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chokidar": "^3.5.3",
"esbuild": "^0.15.15",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"madge": "^6.0.0",
"mocha": "10.2.0",
"prettier": "^2.7.1",
"rimraf": "^2.7.1",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"dependencies": {
"@iden3/js-crypto": "1.0.0-beta.1",
"@iden3/js-iden3-core": "1.0.0-beta.2",
"@iden3/js-jsonld-merklization": "1.0.0-beta.16",
"@iden3/js-jwz": "1.0.0-beta.2",
"@iden3/js-merkletree": "1.0.0-beta.5",
"@lumeweb/js-sha3-browser": "^0.8.1",
"ajv": "^8.12.0",
"base58-js": "^1.0.4",
"buffer-browserify": "^0.2.5",
"cross-sha256": "^1.2.0",
"crypto-browserify": "^3.12.0",
"did-jwt": "^6.11.6",
"did-resolver": "^4.1.0",
"elliptic": "^6.5.4",
"ethers": "^5.7.2",
"ffjavascript": "^0.2.57",
"idb-keyval": "^6.2.0",
"ipfs-http-client": "56.0.3",
"jsonld": "^8.1.1",
"multiformats": "^9.6.5",
"rfc4648": "^1.5.2",
"snarkjs": "^0.5.0",
"uint8arrays": "^3.0.0",
"uuid": "^9.0.0"
},
"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": ">=18.16.0"
}
}