Skip to content

Commit

Permalink
fix(build): publish types in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Apr 3, 2023
1 parent 610d54f commit 174afe8
Show file tree
Hide file tree
Showing 3 changed files with 2,102 additions and 3,126 deletions.
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
"source": "src/resolver.ts",
"main": "./lib/resolver.cjs",
"module": "./lib/resolver.module.js",
"unpkg": "./lib/resolver.umd.js",
"types": "./lib/resolver.d.ts",
"umd:main": "./lib/resolver.umd.js",
"files": [
"lib",
"src",
"LICENSE"
],
"exports": {
".": {
"types": "./lib/resolver.d.ts",
"require": "./lib/resolver.cjs",
"import": "./lib/resolver.module.js"
}
Expand Down Expand Up @@ -56,24 +55,24 @@
]
},
"devDependencies": {
"@babel/core": "7.21.3",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.21.0",
"@babel/core": "7.21.4",
"@babel/preset-env": "7.21.4",
"@babel/preset-typescript": "7.21.4",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/jest": "29.5.0",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
"babel-jest": "29.5.0",
"eslint": "8.36.0",
"eslint": "8.37.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"jest": "29.5.0",
"microbundle": "0.15.1",
"prettier": "2.8.7",
"regenerator-runtime": "0.13.11",
"semantic-release": "19.0.5",
"typescript": "4.9.5"
"semantic-release": "21.0.1",
"typescript": "5.0.3"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/resolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Resolver, DIDDocument, Resolvable } from 'did-resolver'
import { getResolver } from '../resolver'
import fetch from 'cross-fetch'
jest.mock('cross-fetch')
const mockedFetch = jest.mocked(fetch, true)
const mockedFetch = jest.mocked(fetch)

describe('web did resolver', () => {
const did: string = 'did:web:example.com'
Expand Down
Loading

0 comments on commit 174afe8

Please sign in to comment.