diff --git a/package.json b/package.json index 29f7eef..d3055d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "data-structure-typed", - "version": "0.8.6", + "version": "0.8.16", "description": "Hash (CoordinateSet, CoordinateMap) Heap (MaxHeap, MinHeap) Binary Tree (AVL Tree, Binary Indexed Tree, Binary Search Tree, Segment Tree, Tree Multiset) Graph (Directed Graph, Undirected Graph) Linked List (Singly Linked List, Doubly Linked List) Matrix Priority Queue (Max Priority Queue, Min Priority Queue) Queue (Queue, Dequeue) Stack Trie", "main": "dist/index.js", "scripts": { @@ -62,9 +62,10 @@ "author": "Tyler Zeng", "license": "ISC", "bugs": { - "url": "https://github.com/zrwusa/data-structure-ts/issues" + "url": "https://github.com/zrwusa/data-structure-typed/issues" }, - "homepage": "https://github.com/zrwusa/data-structure-ts#readme", + "homepage": "https://github.com/zrwusa/data-structure-typed#readme", + "types": "dist/index.d.ts", "devDependencies": { "@types/lodash": "^4.14.178", "typescript": "^4.6.2" diff --git a/tsconfig.json b/tsconfig.json index ccaff8d..8bccfa9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "strict": true, "esModuleInterop": true, "moduleResolution": "node", - "declarationDir": "./dist/types", + "declarationDir": "./dist", "skipLibCheck": true // "allowJs": true, @@ -25,7 +25,8 @@ // "noEmit": true, }, "include": [ - "src" + "src", + "node_modules/data-structure-typed" ], "exclude": [ "node_modules",