forked from juliankrispel/use-text-selection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.12 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.12 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
{
"name": "use-text-selection",
"version": "1.1.5",
"description": "A hook for getting the state of your current text selection",
"author": "Julian Krispel-Samsel",
"license": "MIT",
"repository": "juliankrispel/use-text-selection",
"homepage": "https://juliankrispel.github.io/use-text-selection/",
"main": "dist/index.js",
"scripts": {
"build": "rm -rf dist && ./node_modules/.bin/tsc",
"prepublish": "npm run build",
"start": "parcel serve src/example/index.html",
"build:example": "rm -rf build-site && parcel build --target gh-pages --dist-dir \"build-site\" src/example/index.html",
"deploy": "npm run build:example && gh-pages -d build-site"
},
"peerDependencies": {
"react": "^17.0.1"
},
"targets": {
"gh-pages": {
"publicUrl": "/use-text-selection/"
}
},
"devDependencies": {
"@emotion/css": "^11.1.3",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"emotion": "^11.0.0",
"gh-pages": "^3.1.0",
"parcel": "^2.0.0-beta.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"typescript": "^4.1.3",
"typography": "^0.16.19"
}
}