forked from hCaptcha/hcaptcha-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 1.91 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": "hcaptcha",
"license": "GPL-2.0-or-later",
"scripts": {
"dev": "webpack --mode development",
"prod": "webpack --env production --mode production",
"watch": "webpack --mode development --watch",
"lint": "npx eslint 'webpack.config.js' 'src/js/**/*.js' 'assets/js/*.js' '.tests/js/**/*.js'",
"test": "jest",
"coveralls": "jest --coverage && cat coverage/lcov.info | coveralls"
},
"jest": {
"automock": false,
"verbose": true,
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "http://domain.tld/"
},
"setupFiles": [
"<rootDir>/.tests/js/setupTests.js"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"transform": {
"\\.[tj]sx?$": [
"babel-jest",
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": 10
}
}
]
]
}
]
}
},
"engines": {
"node": ">=21.6.2",
"npm": ">=10.4.0"
},
"packageManager": "[email protected]",
"dependencies": {
"@wordpress/hooks": "^3.51.0"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@inrupt/jest-jsdom-polyfills": "^3.2.0",
"@wordpress/eslint-plugin": "^17.8.0",
"babel-loader": "^9.1.3",
"coveralls": "^3.1.1",
"css-loader": "^6.10.0",
"css-minimizer-webpack-plugin": "^6.0.0",
"eslint": "8.56.0",
"glob": "^10.3.10",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jquery": "^3.7.1",
"mini-css-extract-plugin": "^2.8.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-remove-empty-scripts": "^1.0.4"
},
"overrides": {
"@cypress/request": "^3.0.1",
"tough-cookie": "^4.1.3",
"undici": "^6.6.2"
}
}