-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.29 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.29 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
{
"name": "@hcaptcha-react/lib",
"version": "1.0.0",
"type": "module",
"main": "src/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./hook": {
"import": "./dist/esm/hooks/index.js",
"require": "./dist/cjs/hooks/index.js"
}
},
"scripts": {
"compile:build": "rm -rf ./dist && node ./esbuild.config.js",
"compile:watch": "WATCH=true rm -rf ./dist && node ./esbuild.config.js",
"test:types": "tsc -p tsconfig.json",
"test:unit": "jest --selectProjects unit"
},
"dependencies": {
"@hcaptcha/loader": "^2.3.0"
},
"devDependencies": {
"@hcaptcha/types": "^1.0.3",
"@jest/globals": "^30.2.0",
"@swc/core": "^1.15.8",
"@swc/jest": "^0.2.39",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^16.3.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"dotenv": "^16.3.1",
"esbuild": "0.25.0",
"expect": "^29.5.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"rimraf": "^3.0.2",
"ts-node": "^10.9.2",
"typescript": "^4.9.5",
"wait-for-expect": "^3.0.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}