-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.53 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.53 KB
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
{
"name": "@gleif-it/did-webs-ts",
"version": "0.0.6",
"description": "did-webs typescript library",
"keywords": [
"GLEIF",
"vLEI",
"LEI",
"DID",
"DID:Webs"
],
"homepage": "https://github.com/GLEIF-IT/did-webs-ts#readme",
"bugs": {
"url": "https://github.com/GLEIF-IT/did-webs-ts/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GLEIF-IT/did-webs-ts.git"
},
"license": "Apache-2.0",
"author": "Jonathan Rayback",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/types/index.d.ts",
"typesVersions": {
"<=4.9": {
"*": [
"dist/cjs/types/*"
]
},
">=5.0": {
"*": [
"dist/esm/types/*"
]
}
},
"files": [
"dist/**/*"
],
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json && npx echo-cli '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && npx echo-cli '{\"type\": \"module\"}' > dist/esm/package.json",
"clean": "del-cli ./dist",
"compatibility-checker": "./build/test/package/checkPackage.sh",
"dependency-checker": "npx depcheck --ignores='@typescript-eslint/eslint-plugin, @typescript-eslint/parser, @types/jest, @types/node, jest-ci-spec-reporter, ts-jest'",
"formatter": "prettier --check . && npx sort-package-json --check",
"formatter:fix": "prettier --write . && npx sort-package-json",
"full-checker": "npm install && npm run formatter:fix && npm run linter && npm run dependency-checker && npm test",
"linter": "npx eslint src",
"packageCheck": "npm pack --dry-run",
"prepublishOnly": "npm run full-checker && npm test && npm run build && npm run compatibility-checker",
"publish:dev": "npm version prerelease --preid=dev && npm publish --access public --tag dev && npm dist-tag add $(node -p \"require('./package.json').name + '@' + require('./package.json').version\") latest",
"publish:prod:patch": "npm version patch && npm publish --access public",
"start": "NODE_OPTIONS='--loader ts-node/esm --no-warnings' ts-node ./main.ts",
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --verbose",
"test:full": "npm run full-checker && npm run build && npm run compatibility-checker && npm run packageCheck"
},
"dependencies": {
"@noble/secp256k1": "^2.2.3",
"remeda": "^2.21.2",
"safe-stable-stringify": "^2.5.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/jsonschema": "^0.0.5",
"@types/node": "^22.13.10",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"del-cli": "^6.0.0",
"depcheck": "^1.4.7",
"echo-cli": "^2.0.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.1.1",
"jest": "29.7",
"jsonschema": "^1.5.0",
"prettier": "^3.3.3",
"sort-package-json": "^3.0.0",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"typescript-eslint": "^8.24.1"
},
"engines": {
"node": ">=18.0.0"
},
"access": "public",
"overrides": {
"glob": "^9.0.0"
}
}