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",
|
"name": "@movie-web/providers",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "Package that contains all the providers of movie-web",
|
"description": "Package that contains all the providers of movie-web",
|
||||||
"main": "./lib/index.umd.js",
|
"main": "./lib/index.umd.js",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
@@ -9,9 +9,15 @@
|
|||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./lib/index.mjs",
|
"types": "./lib/index.d.ts",
|
||||||
"require": "./lib/index.umd.js",
|
"import": {
|
||||||
"types": "./lib/index.d.ts"
|
"default": "./lib/index.mjs.js",
|
||||||
|
"types": "./lib/index.d.ts"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"default": "./lib/index.umd.js",
|
||||||
|
"types": "./lib/index.d.ts"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2022",
|
"target": "esnext",
|
||||||
"lib": ["ES2022"],
|
"lib": ["esnext"],
|
||||||
"module": "ES2022",
|
"module": "esnext",
|
||||||
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "NodeNext",
|
"esModuleInterop": true,
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
Reference in New Issue
Block a user