@munusshih/p5.export 0.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +156 -0
- package/dist/p5.export.js +4406 -0
- package/dist/p5.export.js.map +1 -0
- package/dist/p5.export.min.js +90 -0
- package/dist/p5.export.min.js.map +1 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@munusshih/p5.export",
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
|
+
"description": "A p5.js add-on for plug-and-play exports: PNG, JPG, WebP, animated WebP, GIF, MP4, WebM, SVG, PDF, STL, OBJ",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/p5.export.min.js",
|
|
7
|
+
"module": "./dist/p5.export.js",
|
|
8
|
+
"unpkg": "./dist/p5.export.min.js",
|
|
9
|
+
"jsdelivr": "./dist/p5.export.min.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/p5.export.js",
|
|
13
|
+
"default": "./dist/p5.export.min.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"test:sketches": "node scripts/compare-sketches.mjs",
|
|
24
|
+
"test:webp": "node scripts/test-webp.mjs",
|
|
25
|
+
"prepublishOnly": "npm run build"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"p5",
|
|
29
|
+
"p5.js",
|
|
30
|
+
"p5-addon",
|
|
31
|
+
"export",
|
|
32
|
+
"png",
|
|
33
|
+
"jpg",
|
|
34
|
+
"webp",
|
|
35
|
+
"gif",
|
|
36
|
+
"mp4",
|
|
37
|
+
"webm",
|
|
38
|
+
"svg",
|
|
39
|
+
"pdf",
|
|
40
|
+
"stl",
|
|
41
|
+
"obj",
|
|
42
|
+
"recorder",
|
|
43
|
+
"creative-coding"
|
|
44
|
+
],
|
|
45
|
+
"author": "Munus Shih",
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"homepage": "https://github.com/munusshih/p5.export#readme",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/munusshih/p5.export.git"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/munusshih/p5.export/issues"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"jspdf": "^2.5.0",
|
|
57
|
+
"p5": ">=1.0.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"jspdf": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"p5": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"canvas2svg": "^1.0.16",
|
|
69
|
+
"gifenc": "^1.0.3",
|
|
70
|
+
"mp4-muxer": "^5.2.2",
|
|
71
|
+
"webm-muxer": "^5.1.4"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"jspdf": "^2.5.2",
|
|
75
|
+
"p5": "^2.0.0",
|
|
76
|
+
"playwright": "^1.49.0",
|
|
77
|
+
"vite": "^5.4.0"
|
|
78
|
+
}
|
|
79
|
+
}
|