Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
fix: shipping TS types in dist/ instead of in @types/
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Aug 1, 2022
1 parent 3320545 commit bc36e60
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.nyc_output/
@types/
coverage/
dist/
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.nyc_output/
@types/
coverage/
dist/
node_modules/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Jon Ursenbach <[email protected]>",
"license": "ISC",
"main": "dist/index.js",
"types": "@types/index.d.ts",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/readmeio/oas-extensions.git"
Expand All @@ -16,7 +16,7 @@
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .js,.ts",
"prebuild": "rm -rf dist/ @types/",
"prebuild": "rm -rf dist/",
"prepack": "npm run build",
"prepare": "husky install",
"pretest": "npm run lint",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"allowJs": true,
"baseUrl": "./src/",
"declaration": true,
"declarationDir": "./@types",
"esModuleInterop": true,
"lib": ["dom", "es2020"],
"noImplicitAny": true,
Expand Down

0 comments on commit bc36e60

Please sign in to comment.