mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:23:24 +00:00
Fix types and tsconfigs
This commit is contained in:
14
package.json
14
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@movie-web/providers",
|
||||
"version": "0.0.9",
|
||||
"version": "0.0.10",
|
||||
"description": "Package that contains all the providers of movie-web",
|
||||
"main": "./lib/index.umd.js",
|
||||
"types": "./lib/index.d.ts",
|
||||
@@ -9,9 +9,15 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./lib/index.mjs",
|
||||
"require": "./lib/index.umd.js",
|
||||
"types": "./lib/index.d.ts"
|
||||
"types": "./lib/index.d.ts",
|
||||
"import": {
|
||||
"default": "./lib/index.mjs.js",
|
||||
"types": "./lib/index.d.ts"
|
||||
},
|
||||
"require": {
|
||||
"default": "./lib/index.umd.js",
|
||||
"types": "./lib/index.d.ts"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
|
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2022"],
|
||||
"module": "ES2022",
|
||||
"target": "esnext",
|
||||
"lib": ["esnext"],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"outDir": "./lib",
|
||||
"strict": true,
|
||||
"moduleResolution": "NodeNext",
|
||||
"esModuleInterop": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"noEmit": true,
|
||||
"experimentalDecorators": true,
|
||||
|
Reference in New Issue
Block a user