Skip to content

Commit fa51952

Browse files
author
Ryan Sites
authored
add build config (#4)
1 parent de7b69e commit fa51952

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

tsconfig.build.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES6",
4+
"module": "commonjs",
5+
"jsx": "react",
6+
"lib": ["dom", "es2017"],
7+
"moduleResolution": "node",
8+
"allowJs": true,
9+
"noEmit": false,
10+
"strict": true,
11+
"allowSyntheticDefaultImports": true,
12+
"skipLibCheck": true,
13+
"noUnusedLocals": true,
14+
"noUnusedParameters": true,
15+
"removeComments": false,
16+
"preserveConstEnums": true,
17+
"sourceMap": true,
18+
"esModuleInterop": true,
19+
"forceConsistentCasingInFileNames": true,
20+
"resolveJsonModule": true,
21+
"declaration": true,
22+
"outDir": "dist"
23+
},
24+
"exclude": ["node_modules"],
25+
"include": ["src/**/*.ts", "src/**/*.tsx"]
26+
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"outDir": "build/lib",
3+
"outDir": "dist",
44
"module": "commonjs",
55
"target": "es5",
66
"lib": ["es5", "es6", "es7", "es2017", "dom"],

0 commit comments

Comments
 (0)