|
25 | 25 | "type": "module",
|
26 | 26 | "types": "./lib/index.d.ts",
|
27 | 27 | "main": "./lib/index.js",
|
| 28 | + "typesVersions": { |
| 29 | + "*": { |
| 30 | + "*": [ |
| 31 | + "*", |
| 32 | + "lib/*", |
| 33 | + "lib/*/index" |
| 34 | + ] |
| 35 | + } |
| 36 | + }, |
28 | 37 | "files": [
|
29 |
| - "lib/**/*", |
| 38 | + "src", |
| 39 | + "lib", |
30 | 40 | "!**/*.tsbuildinfo"
|
31 | 41 | ],
|
32 |
| - "scripts": { |
33 |
| - "clean": "rm -rf ./lib", |
34 |
| - "build": "npm run clean && tsc -p ./tsconfig.build.json", |
35 |
| - "test": "mocha -t 60000 --extension spec.ts", |
36 |
| - "semantic-release": "semantic-release", |
37 |
| - "prepack": "npm run build", |
38 |
| - "lint": "eslint . --ext .ts", |
39 |
| - "lint:fix": "eslint . --ext .ts --fix && prettier --write .", |
40 |
| - "prepare": "husky install", |
41 |
| - "commit": "git-cz -S", |
42 |
| - "coverage": "c8 --all --exclude coverage --exclude lib --exclude test yarn test && c8 report --all --exclude coverage --exclude lib --exclude test -r html", |
43 |
| - "example:server": "node --experimental-specifier-resolution=node --loader ts-node/esm ./examples/server/index.ts", |
44 |
| - "example:client": "yarn --cwd ./examples/client dev", |
45 |
| - "example:node": "node --experimental-specifier-resolution=node --loader ts-node/esm ./examples/node/index.ts", |
46 |
| - "typedoc": "typedoc --options ./typedoc.json" |
| 42 | + "exports": { |
| 43 | + ".": { |
| 44 | + "types": "./lib/index.d.ts", |
| 45 | + "import": "./lib/index.js" |
| 46 | + }, |
| 47 | + "./utils": { |
| 48 | + "types": "./lib/utils/index.d.ts", |
| 49 | + "import": "./lib/utils/index.js" |
| 50 | + } |
47 | 51 | },
|
48 | 52 | "release": {
|
49 | 53 | "branches": [
|
|
70 | 74 | "devDependencies": {
|
71 | 75 | "@types/node": "^18.15.11",
|
72 | 76 | "@types/mocha": "^10.0.1",
|
73 |
| - "@types/chai": "^4.3.4", |
| 77 | + "@types/chai": "^4.3.5", |
74 | 78 | "@types/debug": "^4.1.7",
|
75 | 79 | "@types/chai-as-promised": "^7.1.5",
|
76 |
| - "@types/luxon": "^3.2.0", |
| 80 | + "@types/luxon": "^3.3.0", |
77 | 81 | "mocha": "^10.2.0",
|
78 | 82 | "chai": "^4.3.7",
|
79 | 83 | "chai-as-promised": "^7.1.1",
|
80 | 84 | "ts-node": "^10.9.1",
|
81 |
| - "typescript": "^5.0.3", |
82 |
| - "semantic-release": "^21.0.1", |
| 85 | + "typescript": "^5.0.4", |
| 86 | + "semantic-release": "^21.0.2", |
83 | 87 | "semantic-release-cli": "^5.4.4",
|
84 | 88 | "@semantic-release/changelog": "^6.0.3",
|
85 |
| - "eslint": "^8.37.0", |
86 |
| - "@typescript-eslint/eslint-plugin": "^5.57.0", |
87 |
| - "@typescript-eslint/parser": "^5.57.0", |
88 |
| - "prettier": "^2.8.7", |
| 89 | + "eslint": "^8.40.0", |
| 90 | + "@typescript-eslint/eslint-plugin": "^5.59.5", |
| 91 | + "@typescript-eslint/parser": "^5.59.5", |
| 92 | + "prettier": "^2.8.8", |
89 | 93 | "husky": "^8.0.3",
|
90 | 94 | "git-cz": "^4.9.0",
|
91 |
| - "@commitlint/config-conventional": "^17.4.4", |
92 |
| - "@commitlint/cli": "^17.5.1", |
93 |
| - "lint-staged": "^13.2.0", |
| 95 | + "@commitlint/config-conventional": "^17.6.3", |
| 96 | + "@commitlint/cli": "^17.6.3", |
| 97 | + "lint-staged": "^13.2.2", |
94 | 98 | "c8": "^7.13.0",
|
95 |
| - "typedoc": "^0.24.0-beta.7" |
| 99 | + "typedoc": "^0.24.7" |
96 | 100 | },
|
97 | 101 | "dependencies": {
|
98 | 102 | "libp2p": "^0.43.3",
|
|
103 | 107 | "ethers": "^6.2.3",
|
104 | 108 | "luxon": "^3.3.0",
|
105 | 109 | "h3-js": "^4.1.0",
|
106 |
| - "debug": "^4.3.4" |
| 110 | + "debug": "^4.3.4", |
| 111 | + "@windingtree/contracts": "^1.0.0-beta.5" |
| 112 | + }, |
| 113 | + "scripts": { |
| 114 | + "clean": "rm -rf ./lib", |
| 115 | + "build": "npm run clean && tsc -p ./tsconfig.build.json", |
| 116 | + "test": "mocha -t 60000 --extension spec.ts", |
| 117 | + "semantic-release": "semantic-release", |
| 118 | + "lint": "eslint . --ext .ts", |
| 119 | + "lint:fix": "eslint . --ext .ts --fix && prettier --write .", |
| 120 | + "prepare": "husky install", |
| 121 | + "commit": "git-cz -S", |
| 122 | + "coverage": "c8 --all --exclude coverage --exclude lib --exclude test yarn test && c8 report --all --exclude coverage --exclude lib --exclude test -r html", |
| 123 | + "example:server": "node --experimental-specifier-resolution=node --loader ts-node/esm ./examples/server/index.ts", |
| 124 | + "example:client": "yarn --cwd ./examples/client dev", |
| 125 | + "example:node": "node --experimental-specifier-resolution=node --loader ts-node/esm ./examples/node/index.ts", |
| 126 | + "typedoc": "typedoc --options ./typedoc.json" |
107 | 127 | }
|
108 | 128 | }
|
0 commit comments