Skip to content

Commit

Permalink
Renamed type output for easier imports
Browse files Browse the repository at this point in the history
* removed some unnecessary modules in the tsconfig
  • Loading branch information
CluEleSsUK committed Aug 8, 2022
1 parent bd7ab44 commit fcf1a20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "parcel build",
"build:ci": "npm run build && npm run lint && npm run check && npm run test",
Expand Down
8 changes: 3 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@
"module": "commonjs",
"target": "esnext",
"sourceMap": true,
"jsx": "preserve",
"outDir": "./build/",
"outDir": "./dist/",
"moduleResolution": "node",
"declaration": true,
"allowJs": true,
"esModuleInterop": true,
"strict": true,
"allowSyntheticDefaultImports": true,
"lib": [
"dom",
"esnext",
"dom.iterable",
"scripthost"
"esnext"
],
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
Expand Down

0 comments on commit fcf1a20

Please sign in to comment.