Skip to content

Commit 8f502de

Browse files
committed
Reduce package size
1 parent fed7857 commit 8f502de

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

examples/example1/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dom.iterable",
77
"esnext"
88
],
9-
"allowJs": true,
9+
"allowJs": false,
1010
"skipLibCheck": true,
1111
"esModuleInterop": true,
1212
"allowSyntheticDefaultImports": true,

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "react-mathlive",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "An interactive math input for react.",
55
"main": "dist/index.js",
6+
"files": [
7+
"/dist"
8+
],
69
"types": "dist/index.d.ts",
710
"repository": {
811
"url": "https://github.com/concludio/react-mathlive"

tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"target": "es5",
55
"lib": [ "dom", "dom.iterable", "esnext" ],
66
"module": "commonjs",
7+
"allowJs": false,
78
"noImplicitAny": true,
89
"strict": true,
910
"declaration": true,
@@ -15,12 +16,14 @@
1516
]
1617
},
1718
"include": [
18-
"./src/**/*.tsx",
19-
"./src/**/*.ts"
19+
"src/**/*.tsx",
20+
"src/**/*.ts"
2021
],
2122
"exclude": [
2223
"node_modules",
2324
"dist",
24-
"examples"
25+
"examples",
26+
"**/*.test.ts",
27+
"**/*.test.tsx"
2528
]
2629
}

0 commit comments

Comments
 (0)