-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
85 lines (85 loc) · 2.25 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
83
84
85
{
"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",
"ctlLocale": "ru_RU",
"localeWarning": "Active table \"{active_table}\" does not match the current site locale: \"ru_RU\". The \"ISO9\" table will be used for transliteration."
}
}
},
"engines": {
"node": ">=20.18.0",
"npm": ">=10.9.0"
},
"packageManager": "[email protected]",
"dependencies": {
"@wordpress/hooks": "^4.11.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@wordpress/eslint-plugin": "^22.0.0",
"babel-loader": "^9.2.1",
"coveralls": "^3.1.1",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^8.57.1",
"glob": "^11.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.9.2",
"prettier": "^3.4.2",
"terser-webpack-plugin": "^5.3.11",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-remove-empty-scripts": "^1.0.4"
},
"overrides": {
"@cypress/request": "^3.0.1",
"ip": "^2.0.1",
"tough-cookie": "^4.1.3"
}
}