Skip to content

Commit

Permalink
declaration, emitDeclarationOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
dotoritos-kim committed Jan 21, 2024
1 parent 8d1fa3d commit 22edc65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -22,18 +24,18 @@
"typescript"
],
"author": {
"name": "dotoritos-kim",
"name": "kanghyune kim",
"email": "wwponv158@gmail.com"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"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",
Expand All @@ -53,4 +55,4 @@
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
}
}
}
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"./node_modules/@types" // 설정 안할시 기본적으로 ./node_modules/@types
],
"baseUrl": "./src",
"declaration": true,
"emitDeclarationOnly": true,
"plugins": [
{
"transform": "typia/lib/transform"
Expand Down

0 comments on commit 22edc65

Please sign in to comment.