diff --git a/package.json b/package.json index 5f29620..2503845 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,17 @@ "name": "dxf-json", "version": "1.0.0", "description": "perfect dxf parser", - "main": "./src/index.ts", + "main": "./dist/index.ts", "type": "module", + "types": "./dist/index.d.ts", + "module": "./dist/index.js", "scripts": { "build": "tsc && webpack --mode production", "test:parser": "jest --silent=false" }, "repository": { "type": "git", - "url": "git+https://github.com/dotoritos-kim/dxf-json.git" + "url": "git+https://github.com/kimkanghyune/dxf-json.git" }, "keywords": [ "dxf", @@ -22,7 +24,7 @@ "typescript" ], "author": { - "name": "dotoritos-kim", + "name": "kanghyune kim", "email": "wwponv158@gmail.com" }, "publishConfig": { @@ -30,10 +32,10 @@ }, "license": "GPL-3.0", "bugs": { - "url": "https://github.com/dotoritos-kim/dxf-json/issues", + "url": "https://github.com/kimkanghyune/dxf-json/issues", "email": "wwponv158@gmail.com" }, - "homepage": "https://github.com/dotoritos-kim/dxf-json#readme", + "homepage": "https://github.com/kimkanghyune/dxf-json#readme", "dependencies": { "@fxts/core": "^0.23.0", "@swc/cli": "^0.1.63", @@ -53,4 +55,4 @@ "ts-jest": "^29.1.1", "typescript": "^5.3.3" } -} +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 2aa8085..301d9be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,8 @@ "./node_modules/@types" // 설정 안할시 기본적으로 ./node_modules/@types ], "baseUrl": "./src", + "declaration": true, + "emitDeclarationOnly": true, "plugins": [ { "transform": "typia/lib/transform"