Skip to content

Commit

Permalink
Add build config
Browse files Browse the repository at this point in the history
  • Loading branch information
syail committed Oct 29, 2024
1 parent bdb51e9 commit 816fd50
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@
"name": "@yeouidopartners/nice-kyc-api",
"version": "1.0.0",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*/index.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "tsc --outDir dist",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down
14 changes: 14 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "es2016",
"module": "commonjs",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"declaration": true,
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules"]
}

0 comments on commit 816fd50

Please sign in to comment.