-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
59 lines (59 loc) · 1.73 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
{
"name": "cf7-repeatable-fields",
"version": "2.0.2",
"description": "Repeatable Fields Add-on for Contact Form 7",
"license": "GPL-3.0+",
"main": "Gruntfile.js",
"repository": {
"type": "git",
"url": "https://github.com/felipeelia/cf7-repeatable-fields"
},
"bugs": {
"url": "https://github.com/felipeelia/cf7-repeatable-fields/issues"
},
"author": "Felipe Elia",
"homepage": "https://github.com/felipeelia/cf7-repeatable-fields#readme",
"engines": {
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.4.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@wordpress/env": "^10.10.0",
"@wordpress/eslint-plugin": "^21.3.0",
"@wordpress/scripts": "^30.3.0",
"cypress": "^13.1.0",
"eslint": "^8.57.1",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^5.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js"
],
"*.php": [
"./vendor/bin/phpcs --extensions=php --runtime-set testVersion 7.0- -s"
]
},
"scripts": {
"prepare": "husky",
"build": "wp-scripts build assets/js/scripts.js --webpack-no-externals --output-path=dist",
"env": "wp-env",
"format": "wp-scripts format ./assets",
"lint:js": "wp-scripts lint-js",
"lint:php": "./vendor/bin/phpcs --extensions=php --runtime-set testVersion 7.0- -s",
"lint": "npm run lint:js && npm run lint:php",
"start": "wp-scripts start assets/js/scripts.js --webpack-no-externals --output-path=dist",
"e2e:open": "cypress open --config-file tests/e2e/cypress.config.js",
"e2e:run": "cypress run --config-file tests/e2e/cypress.config.js"
}
}