-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
120 lines (120 loc) · 3.35 KB
/
package.json
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
114
115
116
117
118
119
120
{
"name": "priorityqueue",
"version": "2.0.0",
"description": "An implementation of Priority Queue",
"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": "run-s clean build:*",
"perf:clean": "rm -rf perf_results/*",
"perf:exec": "ts-node src/performance/index.ts",
"perf": "run-s perf:clean perf:exec",
"lint": "eslint \"src/**\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"prepublishOnly": "run-s clean 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": "run-s ci build",
"version": "run-s changelog && git add CHANGELOG.md",
"ci": "run-s lint typecheck test:ci",
"postci": "codecov",
"documentation": "typedoc ./src/index.ts ./src/BinaryHeap.ts ./src/PairingHeap.ts ./src/SkewHeap.ts && touch docs/.nojekyll",
"postpublish": "yarn documentation && gh-pages -d docs --dotfiles",
"prepare": "git config --local core.hooksPath .githooks && echo 'githooks installed' || echo 'githooks install failed'"
},
"author": "berlysia",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:berlysia/priorityqueuejs.git"
},
"keywords": [
"priority",
"queue",
"priority queue",
"heap",
"data structure"
],
"devDependencies": {
"@berlysia/eslint-config": "3.5.1",
"@berlysia/tsconfig": "0.0.1",
"@types/eslint": "8.56.12",
"@types/lodash.range": "3.2.9",
"@types/microseconds": "^0.2.0",
"@types/mkdirp": "1.0.2",
"@types/node": "20.16.10",
"@types/prettier": "2.7.3",
"@types/seed-random": "2.2.4",
"@types/shuffle-array": "1.0.5",
"@types/yargs": "17.0.33",
"codecov": "3.8.3",
"conventional-changelog-cli": "2.2.2",
"eslint": "8.57.1",
"gh-pages": "4.0.0",
"lint-staged": "15.2.10",
"lodash.range": "3.2.0",
"microseconds": "0.2.0",
"mkdirp": "1.0.4",
"npm-run-all": "4.1.5",
"pkg-dir": "5.0.0",
"prettier": "3.3.3",
"seed-random": "2.2.0",
"shuffle-array": "1.0.1",
"simple-statistics": "7.8.5",
"ts-node": "^10.9.1",
"typedoc": "0.26.8",
"typescript": "5.6.2",
"vite": "^5.0.0",
"vitest": "^0.34.0",
"yargs": "17.7.2"
},
"lint-staged": {
"*.ts": [
"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"
]
}