Skip to content

Commit

Permalink
Create index.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
amanusk committed Mar 24, 2024
1 parent fa07849 commit 929b527
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ package-lock.json
node.json
yarn-error.log

.yarnrc

venv
dist*
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.2.0",
"description": "Example of a starknet wallet implemented with starknetjs",
"main": "index.js",
"bin": {
"starknet-cli-wallet": "./dist/src/index.js"
},
"types": "./dist/types/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

import { ensureEnvVar } from "./util";
import { program } from "commander";
import { getProvider } from "./ProviderConfig";
Expand Down
7 changes: 0 additions & 7 deletions src/secp256k1.ts

This file was deleted.

4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"outDir": "dist",
"outDir": "./dist",
"resolveJsonModule": true
},
"include": ["./test"]
"include": ["./src/index.ts", "./test"]
}

0 comments on commit 929b527

Please sign in to comment.