Explorar el Código

fix(ts) move dts file to types/

release-8443
Saúl Ibarra Corretgé hace 1 año
padre
commit
c722fd8b84
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 2
    1
      package.json
  2. 0
    1
      tsconfig.json

+ 2
- 1
package.json Ver fichero

@@ -69,7 +69,7 @@
69 69
     "build:webpack": "LIB_JITSI_MEET_COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null) webpack",
70 70
     "build:webpack-dev": "webpack --mode development",
71 71
     "build:tsc": "tsc --build --clean && tsc",
72
-    "gen-types": "tsc --declaration --emitDeclarationOnly --out index.js",
72
+    "gen-types": "tsc --declaration --emitDeclarationOnly --out types/index.d.ts",
73 73
     "lint": "eslint .",
74 74
     "lint-fix": "eslint . --fix",
75 75
     "postinstall": "patch-package",
@@ -81,6 +81,7 @@
81 81
   },
82 82
   "browser": "dist/umd/lib-jitsi-meet.min.js",
83 83
   "module": "dist/esm/JitsiMeetJS.js",
84
+  "types": "types/index.d.ts",
84 85
   "files": [
85 86
     "dist",
86 87
     "types",

+ 0
- 1
tsconfig.json Ver fichero

@@ -22,7 +22,6 @@
22 22
     "**/*.spec.ts",
23 23
     "*.conf*.js",
24 24
     "index.js",
25
-    "index.d.ts",
26 25
     "lib-jitsi-meet.*.js",
27 26
     "webpack*.js",
28 27
   ]

Loading…
Cancelar
Guardar