-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathpackage.json
124 lines (124 loc) · 3.7 KB
/
package.json
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.0-rc.2",
"type": "module",
"homepage": "https://github.com/P5-wrapper/react",
"license": "MIT",
"files": [
"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.component.config.ts",
"build:demo": "vite build --config config/vite/vite.demo.config.ts",
"ci": "pnpm format:check && pnpm lint && pnpm test && pnpm build",
"dev": "vite --config config/vite/vite.demo.config.ts --host",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check .",
"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.component.config.ts",
"test:coverage": "vitest run --silent --coverage --config config/vite/vite.component.config.ts",
"test:watch": "vitest watch --config config/vite/vite.component.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": "[email protected]",
"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": "https://github.com/P5-wrapper/react.git"
},
"bugs": {
"url": "https://github.com/P5-wrapper/react/issues"
},
"dependencies": {
"microdiff": "^1.5.0",
"react-error-boundary": "^5.0.0"
},
"peerDependencies": {
"p5": ">= 1.11.3",
"react": ">= 19.0.0",
"react-dom": ">= 19.0.0"
},
"devDependencies": {
"@babel/eslint-plugin": "^7.25.9",
"@eslint/compat": "^1.2.6",
"@eslint/js": "^9.20.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "^16.2.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.4",
"@types/p5": "^1.7.6",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.5",
"babel-plugin-react-compiler": "19.0.0-beta-30d8a17-20250209",
"eslint": "^9.20.1",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-compiler": "19.0.0-beta-30d8a17-20250209",
"eslint-plugin-react-hooks": "^5.1.0",
"gh-pages": "^6.3.0",
"jiti": "^2.4.2",
"js": "^0.1.0",
"jsdom": "^26.0.0",
"prettier": "^3.5.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0",
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.0.5",
"vitest-canvas-mock": "^0.3.3"
}
}