Skip to content

Commit

Permalink
main과 types 경로 선언
Browse files Browse the repository at this point in the history
  • Loading branch information
SoleeChoi committed Oct 21, 2020
1 parent 6bf5387 commit db07b37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "iamport-rest-client-nodejs",
"version": "0.9.0",
"description": "NodeJS용 아임포트 REST API Client 입니다.",
"main": "index.js",
"main": "dist/iamport.js",
"types": "dist/iamport.d.ts",
"scripts": {
"start": "npm start",
"lint": "tslint -p tsconfig.json",
Expand Down
12 changes: 7 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"compilerOptions": {
"target": "es2015",
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
"noImplicitAny": true,
"moduleResolution": "node",
"typeRoots": [ "node_modules/@types" ],
"declaration": true,
"outDir": "_build",
"forceConsistentCasingInFileNames": true
"sourceMap": true,
"outDir": "dist",
"baseUrl": "."
},
"include": [
"lib/"
Expand Down

0 comments on commit db07b37

Please sign in to comment.