mirror of
https://github.com/p-stream/providers.git
synced 2026-03-11 17:55:36 +00:00
Fix types and tsconfigs
This commit is contained in:
parent
0baf4e46aa
commit
a31e05adfb
2 changed files with 15 additions and 8 deletions
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue