-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.46 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
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
121
122
123
124
125
126
127
{
"name": "p5",
"repository": "processing/p5.js",
"type": "module",
"scripts": {
"build": "rolldown -c",
"dev": "vite preview/",
"dev:global": "concurrently -n build,server \"rolldown -c -w\" \"npx vite preview/global/\"",
"docs": "documentation build ./src/**/*.js ./src/**/**/*.js --shallow -o ./docs/data.json && node ./utils/convert.mjs",
"bench": "vitest bench",
"bench:report": "vitest bench --reporter=verbose",
"test": "vitest",
"test:types": "tsc test/types/*.ts --noEmit --lib es2022,dom",
"lint": "oxlint .",
"lint:fix": "oxlint --fix .",
"generate-types": "npm run docs && node utils/typescript.mjs"
},
"lint-staged": {
"src/**/*.js": "oxlint",
"test/**/*.js": "oxlint",
"utils/**/*.{js,mjs}": "oxlint"
},
"version": "2.3.1",
"dependencies": {
"@davepagurek/bezier-path": "^0.0.7",
"@japont/unicode-range": "^1.0.0",
"acorn": "^8.15.0",
"acorn-walk": "^8.3.4",
"colorjs.io": "^0.6.0",
"escodegen": "^2.1.0",
"esrap": "^2.3.0",
"gifenc": "^1.0.3",
"libtess": "^1.2.2",
"omggif": "^1.0.10",
"pako": "^2.1.0",
"tl-util": "npm:@limzykenneth/tl-util@0.0.1",
"zimmerframe": "^1.1.4",
"zod": "^4.2.1"
},
"devDependencies": {
"@playwright/browser-chromium": "^1.62.0",
"@rollup/plugin-alias": "^6.0.0",
"@vitest/browser": "^4.1.10",
"@vitest/browser-playwright": "^4.1.10",
"concurrently": "^8.2.2",
"documentation": "^14.0.3",
"glob": "^13.0.6",
"globals": "^16.2.0",
"husky": "^4.2.3",
"lint-staged": "^15.1.0",
"msw": "^2.15.0",
"oxfmt": "^0.60.0",
"oxlint": "^1.75.0",
"pixelmatch": "^7.2.0",
"pkg-pr-new": "^0.0.80",
"rolldown": "^1.2.0",
"rollup-plugin-string": "^3.0.0",
"typescript": "^5.9.2",
"vite": "^8.1.5",
"vitest": "^4.1.10"
},
"license": "LGPL-2.1",
"browser": "./lib/p5.min.js",
"exports": {
".": {
"types": "./types/p5.d.ts",
"default": "./dist/app.js"
},
"./global": {
"types": "./types/global.d.ts",
"default": "./dist/app.js"
},
"./node": {
"types": "./types/p5.d.ts",
"default": "./dist/app.node.js"
},
"./core": {
"default": "./dist/core/main.js"
},
"./color": "./dist/color/index.js",
"./shape": "./dist/shape/index.js",
"./accessibility": "./dist/accessibility/index.js",
"./friendlyErrors": "./dist/core/friendlyErrors/index.js",
"./data": "./dist/data/index.js",
"./dom": "./dist/dom/index.js",
"./events": "./dist/events/index.js",
"./image": "./dist/image/index.js",
"./io": "./dist/io/index.js",
"./math": "./dist/math/index.js",
"./utilities": "./dist/utilities/index.js",
"./webgl": "./dist/webgl/index.js",
"./webgpu": "./dist/webgpu/index.js",
"./type": "./dist/type/index.js"
},
"files": [
"dist/**",
"license.txt",
"lib/p5.min.js",
"lib/p5.js",
"lib/p5.esm.js",
"lib/p5.esm.min.js",
"lib/p5.webgpu.js",
"lib/p5.webgpu.min.js",
"lib/p5.webgpu.esm.js",
"translations/**",
"types/**"
],
"description": "[](https://www.npmjs.com/package/p5)",
"bugs": {
"url": "https://github.com/processing/p5.js/issues"
},
"homepage": "https://p5js.org",
"directories": {
"doc": "docs",
"test": "test"
},
"author": "",
"husky": {
"hooks": {}
},
"msw": {
"workerDirectory": [
"test"
]
},
"types": "./types/p5.d.ts"
}