-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.24 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.24 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
{
"name": "sorted-queue",
"version": "0.4.4",
"type": "module",
"description": "A sorted queue, based on an array-backed binary heap",
"main": "./dist/cjs/index.js",
"module": "./dist/mjs/index.mjs",
"exports": {
"bun": "./src/index.ts",
"node": {
"module": "./dist/node-mjs/index.mjs",
"import": "./dist/node-cjs/index.esm.mjs",
"require": "./dist/node-cjs/index.js"
},
"default": "./dist/mjs/index.mjs"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/badrap/sorted-queue.git"
},
"author": "Joachim Viide <jviide@iki.fi>",
"license": "MIT",
"publishConfig": {
"provenance": true
},
"engines": {
"node": ">= 22"
},
"scripts": {
"fix": "node --run fix:prettier && node --run fix:eslint",
"fix:prettier": "prettier --write --cache .",
"fix:eslint": "eslint --max-warnings=0 --fix --cache --cache-location=.cache/eslint .",
"lint": "node --run lint:prettier && node --run lint:eslint",
"lint:prettier": "prettier --check --cache .",
"lint:eslint": "eslint --max-warnings=0 --cache --cache-location=.cache/eslint .",
"typecheck": "tsc --noEmit",
"test": "node --test",
"build": "rm -rf dist/* && node --run build:cjs && node --run build:mjs && node --run build:node-mjs && node --run build:node-cjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json --outDir ./dist/cjs",
"build:node-cjs": "tsc -p ./tsconfig.cjs.json --target es2022 --outDir ./dist/node-cjs",
"build:mjs": "tsc -p ./tsconfig.esm.json --outDir ./dist/mjs && mv ./dist/mjs/index.js ./dist/mjs/index.mjs && mv ./dist/mjs/index.d.ts ./dist/mjs/index.d.mts",
"build:node-mjs": "tsc -p ./tsconfig.esm.json --target es2022 --outDir ./dist/node-mjs && mv ./dist/node-mjs/index.js ./dist/node-mjs/index.mjs && mv ./dist/node-mjs/index.d.ts ./dist/node-mjs/index.d.mts",
"changeset": "changeset",
"tag": "node --run build && changeset tag"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "2.29.7",
"@eslint/js": "^9.36.0",
"@types/node": "^24.5.2",
"eslint": "^9.36.0",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.0"
},
"files": [
"src",
"dist"
]
}