-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.65 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.65 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
{
"name": "@p5-wrapper/react",
"description": "A wrapper component that allows you to utilise P5 sketches within React apps.",
"version": "5.0.2",
"type": "module",
"homepage": "https://github.com/P5-wrapper/react",
"license": "MIT",
"files": [
"README.md",
"dist/component/*"
],
"types": "./dist/component/main.d.ts",
"main": "./dist/component/main.cjs.js",
"module": "./dist/component/main.es.js",
"exports": {
".": {
"types": "./dist/component/main.d.ts",
"import": "./dist/component/main.es.js",
"require": "./dist/component/main.cjs.js"
}
},
"scripts": {
"build": "rimraf dist && pnpm build:component && pnpm build:demo",
"build:component": "tsc --noEmit && vite build --config config/vite/vite.config.ts --mode lib",
"build:demo": "vite build --config config/vite/vite.config.ts --mode demo",
"dev": "vite --config config/vite/vite.config.ts --host",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check .",
"integrate": "pnpm format:check && pnpm lint && pnpm test && pnpm build",
"lint": "eslint --config config/eslint/eslint.config.ts",
"lint:fix": "pnpm lint --fix",
"prettier": "prettier --config config/prettier/prettier.json --ignore-path .gitignore",
"test": "vitest run --silent --config config/vite/vite.config.ts",
"test:coverage": "vitest run --silent --coverage --config config/vite/vite.config.ts",
"test:watch": "vitest watch --config config/vite/vite.config.ts"
},
"keywords": [
"react",
"react-component",
"p5",
"processing",
"typescript"
],
"author": {
"name": "James Robb",
"url": "https://github.com/jamesrweb"
},
"contributors": [
{
"name": "Eugene Dyko",
"url": "https://github.com/yevdyko"
},
{
"name": "Andreas Wolf",
"email": "info@wolfandreas.com",
"url": "https://github.com/and-who"
},
{
"name": "Ivan Malyugin"
},
{
"name": "Benjamin Saphier",
"url": "https://github.com/bsaphier"
},
{
"name": "Mark Fuller",
"url": "https://github.com/MarkFuller1"
},
{
"name": "Nathan Manousos",
"url": "https://github.com/trafnar"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/P5-wrapper/react.git"
},
"bugs": {
"url": "https://github.com/P5-wrapper/react/issues"
},
"dependencies": {
"microdiff": "^1.5.0",
"react-error-boundary": "^6.1.0"
},
"peerDependencies": {
"p5": ">= 2.0.0",
"react": ">= 19.0.0",
"react-dom": ">= 19.0.0"
},
"devDependencies": {
"@babel/eslint-plugin": "^7.27.1",
"@eslint/compat": "^2.0.2",
"@eslint/js": "^10.0.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "^16.3.2",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/jest": "^30.0.0",
"@types/node": "^25.2.0",
"@types/react": "^19.2.11",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@vitejs/plugin-react": "^5.1.3",
"@vitest/coverage-v8": "^4.0.18",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"eslint": "^10.0.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"eslint-plugin-react-hooks": "^7.0.1",
"gh-pages": "^6.3.0",
"happy-dom": "^20.5.0",
"p5.capture": "^1.6.0",
"p5.record.js": "^0.3.0",
"prettier": "^3.8.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vite": "^7.3.1",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.18",
"vitest-canvas-mock": "^1.1.3"
}
}