From b2d31e2c44a200ba9ee9ff853de164b0dad01893 Mon Sep 17 00:00:00 2001 From: Revone Date: Sun, 19 Nov 2023 21:16:20 +0800 Subject: [PATCH] chore: run cjs, mjs build before test performance --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 97278ce..1ea67df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "data-structure-typed", - "version": "1.46.2", + "version": "1.46.3", "description": "Data Structures of Javascript & TypeScript. Binary Tree, BST, Graph, Heap, Priority Queue, Linked List, Queue, Deque, Stack, AVL Tree, Tree Multiset, Trie, Directed Graph, Undirected Graph, Singly Linked List, Doubly Linked List, Max Heap, Max Priority Queue, Min Heap, Min Priority Queue.", "main": "dist/cjs/index.js", "module": "dist/mjs/index.js", @@ -22,7 +22,7 @@ "test:unit": "jest --runInBand", "test": "npm run test:unit", "test:integration": "npm run update:subs && jest --config jest.integration.config.js", - "test:perf": "ts-node test/performance/reportor.ts", + "test:perf": "npm run build:cjs && npm run build:mjs && ts-node test/performance/reportor.ts", "check": "tsc --noEmit", "check:circular-refs": "dependency-cruiser src", "lint:src": "eslint --fix 'src/**/*.{js,ts}'",