Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.61 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.61 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
{
"name": "use-editable",
"description": "A small React hook to turn elements into fully renderable & editable content surfaces, like code editors, using contenteditable (and magic)",
"version": "3.0.0",
"type": "commonjs",
"main": "dist/use-editable.js",
"module": "dist/use-editable.es.js",
"types": "dist/use-editable.d.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"dist"
],
"keywords": [
"contenteditable",
"text editing",
"react",
"hook"
],
"repository": {
"type": "git",
"url": "git+https://github.com/FormidableLabs/use-editable.git"
},
"homepage": "https://github.com/FormidableLabs/use-editable#readme",
"bugs": {
"url": "https://github.com/FormidableLabs/use-editable/issues"
},
"scripts": {
"check": "npm run check:format && npm run check:types",
"build": "tsdown",
"check:format": "prettier --check .",
"check:types": "tsc",
"format": "prettier --write .",
"prepack": "npm run build",
"changeset": "changeset",
"changeset:version": "changeset version && npm install --package-lock-only"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@arethetypeswrong/core": "^0.18.5",
"@changesets/changelog-github": "^1.0.1",
"@changesets/cli": "^3.0.3",
"@types/react": "^19.3.0",
"prettier": "^3.9.10",
"publint": "^0.3.25",
"react": "^19.3.1",
"tsdown": "^0.23.1",
"typescript": "^7.0.2"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}