mkdir typechain && cd typechain
npm init -y
npm i -D typescript
{
"include":["src"]
"compilerOptions":{
"outDir":["build"]
"target":"ES6"
"lib":["ES6","DOM"]
}
}
{
"name": "typechain",
"version": "1.0.0",
"description": "",
"scripts": {
"build": "tsc" //build에 추가
},
"keywords": [],
"author": "",
"license": "ISC"
}
npm run build
