-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
69 lines (69 loc) · 1.83 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
{
"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": "2.3.3",
"main": "dist/use-editable.js",
"module": "dist/use-editable.es.js",
"types": "dist/types/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"dist/"
],
"keywords": [
"contenteditable",
"text editing",
"react",
"hook"
],
"repository": "https://github.com/FormidableLabs/use-editable",
"bugs": {
"url": "https://github.com/FormidableLabs/use-editable/issues"
},
"scripts": {
"check": "tsc",
"build": "rollup -c rollup.config.js",
"prepublishOnly": "run-s check build"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts}": "prettier --write",
"*.json": "prettier --write",
"*.md": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --quiet --relative"
}
},
"peerDependencies": {
"react": ">= 16.8.0"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-object-assign": "^7.10.4",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/react": "^16.9.49",
"babel-plugin-closure-elimination": "^1.3.2",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"react": "^16.13.1",
"rollup": "^2.27.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.2",
"typescript": "^4.0.3"
}
}