-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.43 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.43 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "@hcaptcha/react-hcaptcha",
"description": "A React library for hCaptcha",
"version": "2.0.2",
"author": "hCaptcha team and contributors",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hCaptcha/react-hcaptcha.git"
},
"keywords": [
"hcaptcha",
"hcaptcha-react",
"react",
"captcha"
],
"types": "types/index.d.ts",
"main": "lib/dist/cjs/index.js",
"module": "lib/dist/esm/index.js",
"typesVersions": {
"*": {
"hooks": ["types/hooks/index.d.ts"]
}
},
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./lib/dist/esm/index.js",
"require": "./lib/dist/cjs/index.js"
},
"./hooks": {
"types": "./types/hooks/index.d.ts",
"import": "./lib/dist/esm/hooks/index.js",
"require": "./lib/dist/cjs/hooks/index.js"
}
},
"files": [
"README.md",
"lib/dist",
"types",
"!**/*.tsbuildinfo"
],
"scripts": {
"setup": "pnpm install --prefer-offline && pnpm --filter=@hcaptcha-react/lib run compile:build",
"start": "concurrently 'pnpm --filter=@hcaptcha-react/lib run compile:watch' 'pnpm --filter=@hcaptcha-react/demo run start'",
"build": "pnpm --filter=@hcaptcha-react/lib run compile:build",
"test": "pnpm --filter=@hcaptcha-react/lib run test:unit"
},
"devDependencies": {
"@types/node": "^18.19.130",
"@types/react": "^18.0.0",
"concurrently": "^9.2.1"
}
}