-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.35 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"$schema": "https://www.schemastore.org/package.json",
"name": "@captchaapi/react",
"version": "0.1.0",
"description": "React hook for captchaapi.eu proof of work CAPTCHA.",
"type": "module",
"license": "MIT",
"homepage": "https://captchaapi.eu",
"keywords": [
"react",
"captcha",
"captchaapi",
"proof-of-work",
"pow",
"spam-protection",
"gdpr",
"eu",
"inertia",
"hooks"
],
"author": {
"name": "Vladislav Rajtmajer",
"email": "rajtik@gmail.com",
"url": "https://captchaapi.eu"
},
"repository": {
"type": "git",
"url": "git+https://github.com/captchaapi/react.git"
},
"bugs": {
"url": "https://github.com/captchaapi/react/issues"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test:coverage && npm run build"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@testing-library/react": "^16.0.0",
"@types/react": "^19.0.0",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/coverage-v8": "^3.0.0",
"eslint": "^9.0.0",
"jsdom": "^26.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.0.0",
"typescript": "^5.6.0",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">=18"
},
"overrides": {
"esbuild": "^0.28.1"
}
}