-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.03 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
{
"name": "intervaltree",
"type": "module",
"version": "2.1.0",
"description": "Interval tree for JavaScript",
"author": "Jordan Baker",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hexsprite/intervaltree"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@12.4.0",
"scripts": {
"build": "npx tsup",
"postbuild": "node scripts/check-dist-debug.mjs",
"clean": "rimraf dist",
"prebuild": "rimraf dist",
"prepare": "npm run build",
"prepack": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "vitest --no-watch",
"test:watch": "vitest",
"model-check": "vitest run --config vitest.model.config.ts",
"test:all": "pnpm test && pnpm model-check",
"bench": "NODE_ENV=production vitest bench --run --config vitest.bench.config.ts",
"test:compat": "rm -rf /tmp/itc && mkdir -p /tmp/itc && pnpm build && pnpm pack --pack-destination /tmp/itc >/dev/null && mkdir -p /tmp/itc/app && cp test/compat.cjs test/compat.mjs /tmp/itc/app/ && cd /tmp/itc/app && npm init -y >/dev/null && npm i --no-audit --no-fund /tmp/itc/intervaltree-*.tgz >/dev/null && node compat.cjs && node compat.mjs",
"test:automation": "node --test test/*.test.mjs"
},
"devDependencies": {
"@antfu/eslint-config": "^6.7.3",
"@codspeed/vitest-plugin": "^5.7.1",
"@noble/hashes": "^1.8.0",
"@types/node": "^24.13.3",
"@vitest/coverage-v8": "^4.1.11",
"eslint": "^9.39.5",
"fast-check": "^4.9.0",
"pure-rand": "^7.0.1",
"rimraf": "^6.1.3",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.11"
}
}