generated from dev-protocol/template-repos-cjs-esm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
3,044 additions
and
52 deletions.
There are no files selected for viewing
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,5 +1 @@ | ||
# template-repos-cjs-esm | ||
|
||
1. Remove `elliptic` and `@types/elliptic` (`yarn remove elliptic @types/elliptic`) because they are just an example package. | ||
2. Edit `index.ts` and install all related packages | ||
3. Push the repository and install it as a git package (e.g., `yarn add https://github.com/dev-protocol/template-repos-cjs-esm.git`) | ||
# @devprotocol/prebuilt-web3auth-modal |
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 +1 @@ | ||
export * from 'elliptic' | ||
export * from '@web3auth/modal' |
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,12 +1,14 @@ | ||
{ | ||
"name": "template-repos-cjs-esm", | ||
"version": "1.0.0", | ||
"name": "@devprotocol/prebuilt-web3auth-modal", | ||
"version": "0.0.0", | ||
"description": "Template repository for convert Commonjs module to ES module", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"main": "./dist/index.js", | ||
"browser": "./dist/browser/index.js", | ||
"exports": { | ||
".": { | ||
"default": "./dist/index.js" | ||
"default": "./dist/index.js", | ||
"browser": "./dist/browser/index.js" | ||
} | ||
}, | ||
"files": [ | ||
|
@@ -30,11 +32,13 @@ | |
"@rollup/plugin-json": "^6.0.1", | ||
"@rollup/plugin-node-resolve": "^15.0.0", | ||
"@rollup/plugin-typescript": "^11.1.5", | ||
"@types/elliptic": "^6.4.17", | ||
"elliptic": "^6.5.4", | ||
"@web3auth/modal": "^7.1.1", | ||
"ethers": "^6.0.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "5.0.5", | ||
"rollup": "^4.0.0", | ||
"rollup-plugin-node-builtins": "^2.1.2", | ||
"tslib": "^2.6.2", | ||
"typescript": "5.2.2" | ||
}, | ||
|
@@ -44,10 +48,10 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/dev-protocol/template-repos-cjs-esm.git" | ||
"url": "git+ssh://[email protected]/dev-protocol/prebuilt-web3auth-modal.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/dev-protocol/template-repos-cjs-esm/issues" | ||
"url": "https://github.com/dev-protocol/prebuilt-web3auth-modal/issues" | ||
}, | ||
"homepage": "https://github.com/dev-protocol/template-repos-cjs-esm#readme" | ||
"homepage": "https://github.com/dev-protocol/prebuilt-web3auth-modal#readme" | ||
} |
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
Oops, something went wrong.