-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.26 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "priorityqueue",
"version": "2.1.0",
"description": "An implementation of Priority Queue",
"packageManager": "pnpm@10.33.0",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"./BinaryHeap": {
"import": "./lib/BinaryHeap.mjs",
"require": "./lib/BinaryHeap.js"
},
"./PairingHeap": {
"import": "./lib/PairingHeap.mjs",
"require": "./lib/PairingHeap.js"
},
"./SkewHeap": {
"import": "./lib/SkewHeap.mjs",
"require": "./lib/SkewHeap.js"
}
},
"sideEffect": false,
"scripts": {
"build:code": "vite build",
"build:type": "tsc -p tsconfig.build.json --emitDeclarationOnly --outDir lib",
"build": "pnpm run clean && pnpm \"/^build:.*/\"",
"perf:clean": "rm -rf perf_results/*",
"perf:exec": "node --experimental-strip-types src/performance/index.ts",
"perf": "pnpm run perf:clean && pnpm run perf:exec",
"lint": "eslint \"src/**\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"prepublishOnly": "pnpm run clean && pnpm run build",
"clean": "rm -rf lib/*",
"test": "vitest",
"test:ci": "vitest run",
"changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 0",
"preversion": "pnpm run ci && pnpm run build",
"version": "pnpm run changelog && git add CHANGELOG.md",
"ci": "pnpm run lint && pnpm run typecheck && pnpm run test:ci",
"documentation": "typedoc ./src/index.ts ./src/BinaryHeap.ts ./src/PairingHeap.ts ./src/SkewHeap.ts && touch docs/.nojekyll",
"prepare": "git config --local core.hooksPath .githooks && echo 'githooks installed' || echo 'githooks install failed'"
},
"author": "berlysia",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:berlysia/priorityqueuejs.git"
},
"keywords": [
"priority",
"queue",
"priority queue",
"heap",
"data structure"
],
"devDependencies": {
"@berlysia/eslint-config": "7.2.0",
"@berlysia/tsconfig": "0.0.1",
"@types/eslint": "9.6.1",
"@types/lodash.range": "3.2.9",
"@types/microseconds": "0.2.2",
"@types/node": "24.12.2",
"@types/prettier": "3.0.0",
"@types/seed-random": "2.2.4",
"@types/shuffle-array": "1.0.5",
"@types/yargs": "17.0.35",
"@vitest/coverage-v8": "3.2.4",
"conventional-changelog-cli": "2.2.2",
"eslint": "10.2.0",
"lint-staged": "15.5.2",
"lodash.range": "3.2.0",
"microseconds": "0.2.0",
"prettier": "3.8.1",
"seed-random": "2.2.0",
"shuffle-array": "1.0.1",
"simple-statistics": "7.8.9",
"typedoc": "0.28.18",
"typescript": "5.9.3",
"vite": "7.3.2",
"vitest": "3.2.4",
"yargs": "17.7.2"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix"
]
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage",
"collectCoverageFrom": [
"src/**/*.ts",
"!src/PriorityQueue.ts",
"!src/index.ts",
"!**/node_modules/**",
"!**/testing/**",
"!**/performance/**"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/lib"
]
},
"files": [
"lib"
]
}