-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
50 lines (50 loc) · 1.41 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
{
"name": "use-screenshot-hook",
"version": "1.0.2",
"description": "React hook to take screenshot for React components.",
"author": "fayeed",
"license": "MIT",
"repository": "fayeed/use-screenshot-hook",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "npm run build",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
},
"dependencies": {
"html-to-image": "^0.1.1"
},
"peerDependencies": {
"react": "^16.9.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/runtime": "^7.3.1",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^23.3.13",
"@types/react": "^16.7.22",
"cross-env": "^5.2.0",
"gh-pages": "^2.0.1",
"react": "^16.9.0",
"react-scripts": "^3.4.0",
"react-test-renderer": "^16.9.0",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-typescript2": "^0.19.2",
"rollup-plugin-url": "^2.1.0",
"typescript": "^3.2.4"
}
}