Skip to content

Commit

Permalink
env: common settings & setup npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
byeongsu-hong committed Mar 1, 2024
1 parent caef50c commit 6566e7a
Show file tree
Hide file tree
Showing 5 changed files with 3,963 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ insert_final_newline = true

[*.rs]
indent_size = 4

[*.ts]
indent_size = 2
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ Cargo.lock
.idea/

**/*.profraw

# Script setup

config.yaml
config.*.yaml
!config.example.yaml

context/*.config.json

tmp/
dist/
node_modules/
41 changes: 41 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "@many-things/cw-hyperlane",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && esbuild ./script --bundle --outfile=./dist/index.js --platform=node",
"start": "yarn build && node ./dist/index.js",
"dev": "tsx ./script"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@cosmjs/cosmwasm-stargate": "^0.32.2",
"@cosmjs/crypto": "^0.32.2",
"@cosmjs/encoding": "^0.32.2",
"@cosmjs/proto-signing": "^0.32.2",
"@cosmjs/stargate": "^0.32.2",
"@cosmjs/tendermint-rpc": "^0.32.2",
"axios": "^1.6.7",
"colors": "^1.4.0",
"commander": "^11.1.0",
"decompress": "^4.2.1",
"inversify": "^6.0.1",
"readline": "^1.3.0",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@cosmwasm/ts-codegen": "^0.35.7",
"@types/decompress": "^4.2.7",
"@types/js-yaml": "^4.0.8",
"@types/node": "^20.11.20",
"esbuild": "^0.20.1",
"ts-node": "^10.9.1",
"ts-yaml": "^1.0.0",
"tsx": "^3.13.0",
"typescript": "^5.1.6"
}
}
20 changes: 20 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es6",
"lib": ["es6", "es2021"],
"types": ["reflect-metadata", "node"],
"module": "commonjs",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"strictPropertyInitialization": false,
"outDir": "dist",
"declaration": true /* Skip type checking all .d.ts files. */
},
"include": ["script/**/*.ts"]
}
Loading

0 comments on commit 6566e7a

Please sign in to comment.