forked from GoogleChromeLabs/pwa-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.66 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
{
"name": "pwa-wp",
"title": "PWA",
"description": "Feature plugin to add Progressive Web Apps (PWA) to WordPress Core",
"author": "PWA Plugin Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"pwa",
"progressive web app",
"service worker",
"web app manifest",
"https"
],
"homepage": "https://github.com/GoogleChromeLabs/pwa-wp",
"repository": {
"type": "git",
"url": "https://github.com/GoogleChromeLabs/pwa-wp.git"
},
"bugs": {
"url": "https://github.com/GoogleChromeLabs/pwa-wp/issues"
},
"private": true,
"dependencies": {},
"devDependencies": {
"@wordpress/env": "^8.5.0",
"@wordpress/eslint-plugin": "14.12.0",
"@wordpress/scripts": "26.10.0",
"eslint": "8.47.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jsdoc": "43.0.5",
"grunt": "1.6.1",
"grunt-contrib-clean": "2.0.1",
"grunt-contrib-copy": "1.0.0",
"grunt-shell": "4.0.0",
"grunt-wp-deploy": "2.1.2",
"husky": "^8.0.3",
"lint-staged": "13.2.3",
"npm-run-all": "4.1.5",
"prettier": "2.8.7",
"workbox-cli": "7.0.0"
},
"scripts": {
"build": "grunt build; grunt create-build-zip",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"deploy": "grunt deploy",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:js:report": "npm run lint:js -- --output-file lint-js-report.json --format json .",
"lint:php": "vendor/bin/phpcs",
"lint:php:fix": "./bin/phpcbf.sh",
"lint:pkg-json": "wp-scripts lint-pkg-json --ignorePath .gitignore",
"lint:staged": "lint-staged",
"test": "npm-run-all --parallel test:*",
"test:php": "wp-env run phpunit 'WORDPRESS_TABLE_PREFIX=wptests_ /var/www/html/wp-content/plugins/pwa/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/pwa/phpunit.xml.dist $npm_config_args'",
"test:php:xdebug": "wp-env run tests-wordpress 'env PHP_IDE_CONFIG=serverName=pwa WORDPRESS_TABLE_PREFIX=wptests_ WP_PHPUNIT__TESTS_CONFIG=/var/www/html/phpunit-wp-config.php /var/www/html/wp-content/plugins/pwa/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/pwa/phpunit.xml.dist $npm_config_args'",
"prepare": "husky install",
"env:clean": "wp-env clean all",
"env:destroy": "wp-env destroy",
"env:start": "wp-env start --xdebug",
"env:stop": "wp-env stop",
"env:wp": "wp-env run cli wp",
"wp-env": "wp-env"
},
"npmpackagejsonlint": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-version": "off"
}
}
}