forked from iden3/js-jsonld-merklization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.86 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
{
"name": "@iden3/js-jsonld-merklization",
"version": "1.3.0",
"description": "json ld merklization library",
"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": {
"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 config/rollup.config.mjs",
"build:tsc": "tsc --module commonjs --outDir dist/node/cjs",
"clean": "rimraf ./dist",
"test:coverage": "jest --coverage",
"test": "node node_modules/jest/bin/jest.js",
"test:watch": "jest --watch",
"lint": "eslint --fix --ext .js,.ts src/**",
"lint:check": "eslint --ext .js,.ts src/**",
"format": "prettier --config .prettierrc './**/*.ts' --write",
"format:check": "prettier --config .prettierrc './**/*.ts' --check",
"check-deps": "madge --circular --extensions ts ./",
"postinstall": "patch-package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iden3/js-jsonld-merklization.git"
},
"author": "",
"license": "MIT or Apache-2.0",
"bugs": {
"url": "https://github.com/iden3/js-jsonld-merklization/issues"
},
"homepage": "https://github.com/iden3/js-jsonld-merklization#readme",
"devDependencies": {
"@iden3/eslint-config": "https://github.com/iden3/eslint-config",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.4",
"@types/jest": "^29.5.5",
"@types/jsonld": "^1.5.10",
"@types/node": "^18.18.5",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.7.0",
"madge": "^6.1.0",
"patch-package": "^8.0.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"peerDependencies": {
"@iden3/js-crypto": "1.1.0",
"@iden3/js-merkletree": "1.2.0"
},
"dependencies": {
"@js-temporal/polyfill": "0.4.4",
"jsonld": "8.3.2",
"n3": "1.17.3"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}