-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
82 lines (82 loc) · 2.03 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
78
79
80
81
82
{
"name": "cyr-to-lat",
"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
}
}
]
]
}
]
},
"globals": {
"Cyr2LatTablesObject": {
"ajaxUrl": "http://test.test/wp-admin/admin-ajax.php",
"action": "cyr-to-lat-save-table",
"nonce": "some-nonce"
}
}
},
"engines": {
"node": ">=21.5.0",
"npm": ">=10.3.0"
},
"packageManager": "yarn@4.1.0",
"dependencies": {
"@wordpress/hooks": "^3.53.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@wordpress/eslint-plugin": "^17.10.0",
"babel-loader": "^9.1.3",
"coveralls": "^3.1.1",
"css-loader": "^6.10.0",
"css-minimizer-webpack-plugin": "^6.0.0",
"eslint": "^8.57.0",
"glob": "^10.3.10",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.8.1",
"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",
"ip": "2.0.1",
"tough-cookie": "^4.1.3"
}
}