Skip to content

Commit b8638cc

Browse files
committed
fix: fix packed files
1 parent 4934176 commit b8638cc

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.npmignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"require": "./index.cjs"
1111
}
1212
},
13+
"files": [
14+
"index.mjs",
15+
"index.cjs",
16+
"index.d.ts",
17+
"index.js.flow"
18+
],
1319
"scripts": {
1420
"lint": "eslint $npm_package_config_lint",
1521
"lint:fix": "eslint $npm_package_config_lint",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1414
// "declaration": true /* Generates corresponding '.d.ts' file. */,
1515
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
16+
"emitDeclarationOnly": true,
1617
// "sourceMap": true, /* Generates corresponding '.map' file. */
1718
// "outFile": "./", /* Concatenate and emit output to single file. */
1819
"outDir": "./" /* Redirect output structure to the directory. */,

0 commit comments

Comments
 (0)