-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: keep near-api-js as commonjs, remove bundling
- Loading branch information
Andy Haynes
committed
Aug 28, 2024
1 parent
9b86356
commit 2fdb57d
Showing
7 changed files
with
338 additions
and
503 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
collectCoverage: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
{ | ||
"extends": "tsconfig/esm.json", | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"lib": [ | ||
"es2022", | ||
"es2020", | ||
"esnext", | ||
"dom" | ||
], | ||
"outDir": "./lib/esm" | ||
"module": "commonjs", | ||
"target": "es2020", | ||
"moduleResolution": "node", | ||
"alwaysStrict": true, | ||
"outDir": "./lib", | ||
"declaration": true, | ||
"preserveSymlinks": false, | ||
"preserveWatchOutput": true, | ||
"pretty": false, | ||
"forceConsistentCasingInFileNames": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitAny": false, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"experimentalDecorators": true, | ||
"resolveJsonModule": true, | ||
}, | ||
"files": [ | ||
"src/index.ts", | ||
"src/browser-index.ts", | ||
], | ||
} |
Oops, something went wrong.