-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) 路 2.78 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) 路 2.78 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
{
"name": "math",
"version": "1.0.0-alpha.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"description": "a collection of math helpers for graphics and simulations",
"keywords": [
"math",
"vector",
"matrix",
"quaternion",
"euler",
"random",
"noise"
],
"license": "MIT",
"repository": "github:pmndrs/math",
"homepage": "https://github.com/pmndrs/math",
"bugs": {
"url": "https://github.com/pmndrs/math/issues"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/src/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/src/index.d.ts"
},
"./shapes": {
"import": "./dist/shapes/index.js",
"types": "./dist/src/shapes/index.d.ts"
},
"./geometry": {
"import": "./dist/geometry/index.js",
"types": "./dist/src/geometry/index.d.ts"
},
"./time": {
"import": "./dist/time/index.js",
"types": "./dist/src/time/index.d.ts"
},
"./random": {
"import": "./dist/random/index.js",
"types": "./dist/src/random/index.d.ts"
},
"./noise": {
"import": "./dist/noise/index.js",
"types": "./dist/src/noise/index.d.ts"
},
"./color": {
"import": "./dist/color/index.js",
"types": "./dist/src/color/index.d.ts"
}
},
"files": [
"dist",
"LICENSE",
"README.md",
"API.md"
],
"scripts": {
"build": "rm -rf ./dist && pnpm run build:bundle && pnpm run build:dts",
"build:bundle": "rollup --config rollup.config.mjs",
"build:dts": "tsc -p tsconfig.build.json && node scripts/add-js-extensions-dts.mjs",
"build:examples": "pnpm --filter math-examples build",
"dev:examples": "pnpm --filter math-examples dev",
"build:website": "pnpm --filter website build",
"format": "biome format --write src/. tst/.",
"lint": "biome lint --write src/. tst/.",
"test": "vitest run ./tst",
"bench": "pnpm --filter benches exec labs",
"typecheck-docs": "tsc --project docs/tsconfig.json --noEmit",
"docs": "(cd docs && node ./build.js)",
"typedoc": "typedoc --tsconfig ./tsconfig.json --name \"math docs\" --out ./dist-typedoc ./src/index.ts ./src/shapes/index.ts ./src/geometry/index.ts ./src/time/index.ts ./src/random/index.ts ./src/noise/index.ts ./src/color/index.ts",
"build:docs": "pnpm run docs && pnpm run typedoc",
"release": "pnpm run build && pnpm run test && pnpm run build:examples && pnpm run build:docs && pnpm run build:website"
},
"packageManager": "pnpm@11.22.0",
"devDependencies": {
"@biomejs/biome": "^2.5.6",
"@rollup/plugin-node-resolve": "^16",
"@rollup/plugin-typescript": "^12",
"rollup": "^4",
"tslib": "^2.8.1",
"typedoc": "^0.28.16",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
}
}