/
package.json
68 lines (68 loc) · 1.65 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
{
"name": "use-detect-print",
"version": "0.0.2",
"description": "A custom hook to detect printing in the browser",
"source": "src/index.js",
"main": "dist/index.js",
"module": "dist/index.es.js",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gregnb/use-detect-print.git"
},
"keywords": [
"react-hooks",
"hooks",
"react",
"print",
"use-detect-print"
],
"author": "gregnb",
"license": "MIT",
"bugs": {
"url": "https://github.com/gregnb/use-detect-print/issues"
},
"homepage": "https://github.com/gregnb/use-detect-print#readme",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-destructuring": "^7.3.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-core": "^6.26.3",
"eslint": "^5.12.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-copy": "^0.2.3",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-uglify": "^6.0.2",
"rollup-plugin-uglify-es": "0.0.1"
},
"files": [
"dist"
],
"peerDependencies": {
"react": "^16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"prettier --config prettier.config.js --single-quote --write",
"git add"
]
}
}