-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 1.99 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
70
71
72
73
74
75
76
77
{
"name": "usecaptcha",
"version": "1.0.4",
"description": "React hook for Google reCAPTCHA v2.",
"main": "dist/",
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"browsers": [
"> 2%",
"ie >= 11",
"not op_mini all"
]
}
}
],
"@babel/react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/transform-runtime"
]
},
"scripts": {
"clean": "rimraf dist",
"start": "webpack-dev-server --mode development",
"build-package": "npm run clean && npm run transpile-js",
"build-example": "webpack --mode production",
"deploy": "gh-pages -d example/dist",
"publish-npm": "npm run build-package && npm publish",
"publish-git": "npm run build-package && npm run build-example && npm run deploy",
"transpile-js": "babel src/**/*.js -d dist --copy-files"
},
"repository": {
"type": "git",
"url": "https://github.com/sakalx/useCaptcha"
},
"keywords": [
"captcha",
"google-recaptcha",
"react",
"react-hook",
"recaptcha"
],
"author": "Serhii Sakal <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sakalx/useCaptcha/issues"
},
"homepage": "https://sakalx.github.io/useCaptcha",
"peerDependencies": {
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/runtime": "^7.12.5",
"babel-loader": "^8.1.0",
"css-loader": "^5.0.1",
"extract-text-webpack-plugin": "^4.0.0-alpha.0",
"gh-pages": "2.1.1",
"html-webpack-plugin": "3.2.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"style-loader": "^2.0.0",
"webpack": "^4.41.0",
"webpack-cli": "3.3.9",
"webpack-dev-server": "3.8.1"
}
}