@@ -2,11 +2,13 @@
"name": "qf-types",
"version": "1.0.0",
"description": "Global package for about interfaces, types.",
- "main": "index.ts",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
"repository": "https://git.ali33.ru/s4z/qf-types.git",
"author": "0xJS",
"license": "MIT",
"devDependencies": {
"typescript": "^5.0.4"
}
+
@@ -1 +1 @@
-import './interfaces/IUsers';
+export * from './interfaces/IUsers';
@@ -1,11 +1,13 @@
{
- "compilerOptions": {
- "declaration": true,
- "outDir": "./dist",
- "module": "commonjs",
- "target": "es6",
- "strict": true
- },
- "include": ["src"]
- }
-
+ "compilerOptions": {
+ "outDir": "./dist",
+ "declaration": true,
+ "declarationMap": true,
+ "sourceMap": true,
+ "target": "es6",
+ "module": "commonjs",
+ "strict": true,
+ "esModuleInterop": true
+ },
+ "include": ["src/**/*"]
+}