-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
48 lines (48 loc) · 1.5 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
{
"name": "two-factor",
"title": "Two Factor",
"private": true,
"engineStrict": true,
"engines": {
"node": ">=20"
},
"homepage": "https://github.com/wordpress/two-factor",
"scripts": {
"env": "wp-env",
"build": "grunt build",
"lint": "npm-run-all lint:*",
"lint:php": "composer lint",
"lint:phpstan": "composer lint-phpstan",
"lint:css": "wp-scripts lint-style ./user-edit.css ./providers/css/",
"lint:js": "wp-scripts lint-js ./Gruntfile.js ./providers/js/",
"format": "npm-run-all format:*",
"format:php": "composer format",
"format:js": "npm run lint:js -- --fix",
"format:css": "npm run lint:css -- --fix",
"test": "wp-env run tests-cli --env-cwd=wp-content/plugins/two-factor vendor/bin/phpunit --",
"test:watch": "npm run composer test:watch",
"composer": "wp-env run tests-cli --env-cwd=wp-content/plugins/two-factor composer --",
"preinstall": "composer install"
},
"repository": {
"type": "git",
"url": "https://github.com/wordpress/two-factor.git"
},
"author": "georgestephanis",
"license": "GPL-2.0-or-later",
"dependencies": {
"qrcode-generator": "^1.4.4"
},
"devDependencies": {
"@wordpress/env": "^10.5.0",
"@wordpress/eslint-plugin": "^20.2.0",
"@wordpress/scripts": "^28.5.0",
"grunt": "^1.6.1",
"grunt-cli": "^1.5.0",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1.0.0",
"load-grunt-tasks": "^5.1.0",
"npm-run-all": "^4.1.5",
"parse-gitignore": "^0.5.1"
}
}