-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support React 18, modernise package build and dependencies
- Loading branch information
Showing
6 changed files
with
1,205 additions
and
741 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "React Library", | ||
"compilerOptions": { | ||
"outDir": "build", | ||
"module": "esnext", | ||
"target": "es5", | ||
"lib": ["es6", "dom", "es2016", "es2017"], | ||
"sourceMap": true, | ||
"allowJs": false, | ||
"jsx": "react", | ||
"composite": false, | ||
"declaration": true, | ||
"moduleResolution": "node", | ||
"declarationMap": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noImplicitReturns": true, | ||
"noImplicitThis": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"suppressImplicitAnyIndexErrors": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "build", "dist", "example", "rollup.config.js"] | ||
"inlineSources": false, | ||
"isolatedModules": true, | ||
"moduleResolution": "node", | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"preserveWatchOutput": true, | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"jsx": "react-jsx", | ||
"lib": ["ES2015", "DOM"], | ||
"module": "ESNext", | ||
"target": "es6", | ||
"noImplicitAny": false, | ||
"plugins": [{ "name": "typescript-plugin-css-modules" }] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const config = { | ||
dts: true, | ||
format: "cjs", | ||
}; | ||
|
||
export default config; |
Oops, something went wrong.