Skip to content

Commit

Permalink
fix: file endings for esm imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fermentfan committed Nov 6, 2023
1 parent 1247b7c commit e65c0e6
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 23 deletions.
122 changes: 101 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,24 @@
}
},
"scripts": {
"build": "tsc",
"build": "tsc && npm run build:esmfix",
"generate-plugin-schema": "veramo dev generate-plugin-schema",
"build:watch": "tsc -b --watch",
"test:ci": "npm run test --coverage=true",
"test:watch": "npm run test --watch --verbose",
"clean": "rm -rf tmp && rm database.sqlite && rm -rf build && rm tsconfig.tsbuildinfo",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"start:tsnode": "ts-node --esm src/index.ts --config=jest.config.json --coverage=false",
"start": "node --no-warnings --loader ts-node/esm src/index.ts"
"start": "node --no-warnings --loader ts-node/esm src/index.ts",
"build:esmfix": "npx tsc-esm-fix --ext=\".js\" --target=\"build/\""
},
"license": "MIT",
"devDependencies": {
"@types/jest": "29.2.3",
"@veramo/cli": "^5.5.2-next.16",
"jest": "29.3.1",
"ts-jest": "29.0.3",
"tsc-esm-fix": "^2.20.17",
"typescript": "4.9.3"
},
"files": [
Expand Down

0 comments on commit e65c0e6

Please sign in to comment.