Skip to content

Commit

Permalink
Revert removed scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Apr 18, 2024
1 parent 21737ef commit 0cd2987
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions evm-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,29 @@
"src",
"!**/*.tsbuildinfo"
],
"husky": {
"hooks": {
"pre-commit": "bun run lint"
}
},
"license": "MIT",
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && echo > ./_cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2022 --outDir ./_esm && echo > ./_esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
"build": "echo 'building evm-gateway...' && bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"prepublishOnly": "bun run build",
"lint": "eslint . --ext .ts",
"prepare": "bun run build",
"clean": "rm -fr _cjs _esm _types"
},
"sideEffects": false,
"type": "module",
"types": "./_types/index.d.ts",
"typings": "./_types/index.d.ts"
}

0 comments on commit 0cd2987

Please sign in to comment.