Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.03 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
{
"name": "molette",
"version": "0.1.1",
"description": "React controls designed to be shown: sliders, steppers, toggles and keys on a golden-ratio grid, for creative coding and p5.js sketches.",
"keywords": [
"creative-coding",
"p5js",
"generative",
"slider",
"controls",
"gui",
"react",
"design-system",
"golden-ratio"
],
"author": "Laith Alwazani",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./styles.css": "./dist/styles.css"
},
"files": [
"dist"
],
"sideEffects": [
"*.css"
],
"scripts": {
"dev": "vite demo --config demo/vite.config.ts",
"build": "vite build && tsc -p tsconfig.build.json && node scripts/finish-build.mjs",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run typecheck && npm run lint && npm test && npm run build",
"lint": "oxlint src demo test",
"build:demo": "vite build demo --config demo/vite.config.ts --base ./"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.9",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"jsdom": "^31.0.0",
"oxlint": "^1.93.0",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"typescript": "^7.0.2",
"vite": "^8.3.8",
"vitest": "^5.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wlaith/molette.git"
},
"homepage": "https://github.com/wlaith/molette#readme",
"bugs": {
"url": "https://github.com/wlaith/molette/issues"
}
}