-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.5 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
{
"name": "rectangles",
"title": "rectangles.js",
"version": "0.1.0",
"type": "commonjs",
"description": "Axis-aligned rectangle intersection, containment, bounds, measurement, and conversion utilities",
"homepage": "https://github.com/rawify/Rectangles.js",
"bugs": "https://github.com/rawify/Rectangles.js/issues",
"keywords": [
"rectangle",
"rectangles",
"intersection",
"area",
"perimeter",
"bounding-box",
"aabb",
"geometry"
],
"private": false,
"main": "./dist/rectangles.js",
"module": "./dist/rectangles.mjs",
"browser": "./dist/rectangles.min.js",
"unpkg": "./dist/rectangles.min.js",
"types": "./dist/rectangles.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"import": {
"types": "./dist/rectangles.d.mts",
"default": "./dist/rectangles.mjs"
},
"require": {
"types": "./dist/rectangles.d.ts",
"default": "./dist/rectangles.js"
},
"default": {
"types": "./dist/rectangles.d.ts",
"default": "./dist/rectangles.js"
}
},
"./browser": {
"import": {
"types": "./dist/rectangles.d.mts",
"default": "./dist/rectangles.min.mjs"
},
"default": "./dist/rectangles.min.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/rawify/Rectangles.js.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/rawify"
},
"author": {
"name": "Robert Eisele",
"email": "robert@raw.org",
"url": "https://raw.org/"
},
"license": "MIT",
"engines": {
"node": ">=20"
},
"directories": {
"test": "tests"
},
"scripts": {
"clean": "node scripts/clean.mjs",
"typecheck": "tsc --noEmit",
"build": "node scripts/build.mjs",
"test:types": "tsc -p tests/types/tsconfig.json",
"test:runtime": "node --test tests/*.test.js",
"test": "npm run typecheck && npm run build && npm run test:types && npm run test:runtime",
"prepublishOnly": "npm test"
},
"devDependencies": {
"esbuild": "^0.25.12",
"typescript": "^5.9.3"
}
}