forked from ampproject/amp-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 6.61 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "amp-wp",
"private": true,
"description": "WordPress plugin for adding AMP support.",
"author": "WordPress.com VIP, XWP, Google, and contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"amp",
"amphtml",
"wordpress",
"wordpress-plugin"
],
"homepage": "https://github.com/ampproject/amp-wp",
"repository": {
"type": "git",
"url": "https://github.com/ampproject/amp-wp.git"
},
"bugs": {
"url": "https://github.com/ampproject/amp-wp/issues"
},
"engines": {
"node": ">= 20",
"npm": ">= 10"
},
"dependencies": {
"@wordpress/api-fetch": "7.11.0",
"@wordpress/autop": "4.11.0",
"@wordpress/components": "28.11.0",
"@wordpress/compose": "7.11.0",
"@wordpress/date": "5.11.0",
"@wordpress/dom-ready": "4.11.0",
"@wordpress/editor": "14.11.0",
"@wordpress/element": "6.11.0",
"@wordpress/escape-html": "3.11.0",
"@wordpress/html-entities": "4.11.0",
"@wordpress/i18n": "5.11.0",
"@wordpress/icons": "10.11.0",
"@wordpress/is-shallow-equal": "5.11.0",
"@wordpress/url": "4.11.0",
"classnames": "2.5.1",
"clipboard": "2.0.11",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"uuid": "10.0.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@jest/globals": "29.7.0",
"@testing-library/react": "16.0.0",
"@wordpress/babel-preset-default": "8.11.0",
"@wordpress/block-editor": "14.6.0",
"@wordpress/blocks": "14.0.0",
"@wordpress/browserslist-config": "6.11.0",
"@wordpress/data": "10.11.0",
"@wordpress/dependency-extraction-webpack-plugin": "6.11.0",
"@wordpress/e2e-test-utils": "11.11.0",
"@wordpress/edit-post": "8.11.0",
"@wordpress/env": "10.11.0",
"@wordpress/eslint-plugin": "21.4.0",
"@wordpress/hooks": "4.11.0",
"@wordpress/jest-puppeteer-axe": "7.11.0",
"@wordpress/plugins": "7.11.0",
"@wordpress/prettier-config": "4.11.0",
"@wordpress/scripts": "28.2.0",
"axios": "1.7.7",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3",
"css-minimizer-webpack-plugin": "7.0.0",
"enzyme": "3.11.0",
"eslint": "8.57.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "28.6.0",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.34.3",
"eslint-plugin-react-hooks": "4.6.2",
"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": "9.1.6",
"jest-silent-reporter": "0.6.0",
"lint-staged": "15.2.7",
"lodash": "4.17.21",
"moment": "2.30.1",
"npm-run-all": "4.1.5",
"postcss": "8.4.47",
"postcss-import": "16.1.0",
"postcss-nested": "7.0.2",
"postcss-preset-env": "9.5.15",
"prettier": "3.3.2",
"puppeteer": "22.12.1",
"react-test-renderer": "18.3.1",
"semver": "7.6.3",
"webpack-remove-empty-scripts": "1.0.4",
"webpackbar": "6.0.1",
"wporg-api-client": "1.0.1"
},
"scripts": {
"build:dev": "cross-env NODE_ENV=development npm-run-all 'build:!(dev|prod)'",
"build:prod": "cross-env NODE_ENV=production npm-run-all 'build:!(dev|prod)'",
"build:prepare": "grunt clean",
"build:js": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"deploy": "grunt deploy",
"dev": "wp-scripts start",
"env:start": "wp-env start --xdebug",
"env:start:ci": "./bin/local-env/start.sh",
"env:stop": "wp-env stop",
"env:stop:ci": "./bin/local-env/stop.sh",
"env:reset-site": "wp-env clean all",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"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:plugin-bootstrap": "vendor/bin/phpcs --runtime-set testVersion 5.2- amp.php",
"lint:pkg-json": "wp-scripts lint-pkg-json --ignorePath .gitignore",
"lint:staged": "lint-staged",
"package:dev": "cross-env NODE_ENV=development npm-run-all build:dev 'package:!(dev|prod)'",
"package:prod": "cross-env NODE_ENV=production npm-run-all build:prod 'package:!(dev|prod)'",
"package:run": "grunt build",
"package:zip": "grunt create-build-zip",
"prepare": "husky",
"start": "wp-scripts start",
"test": "npm-run-all --parallel test:*",
"test:e2e": "cross-env JEST_PUPPETEER_CONFIG=./tests/e2e/puppeteer.config.js wp-scripts test-e2e --config=tests/e2e/jest.config.js",
"test:e2e:help": "npm run test:e2e -- --help",
"test:e2e:watch": "npm run test:e2e -- --watch",
"test:e2e:interactive": "npm run test:e2e -- --puppeteer-interactive",
"test:e2e:ci": "cross-env WP_BASE_URL=http://127.0.0.1:8890 JEST_PUPPETEER_CONFIG=./tests/e2e/puppeteer.config.js wp-scripts test-e2e --config=tests/e2e/jest-ci.config.js --runInBand",
"test:js": "wp-scripts test-unit-js --config=tests/js/jest.config.js",
"test:js:help": "wp-scripts test-unit-js --help",
"test:js:update-snapshots": "npm run test:js -- --updateSnapshot",
"test:js:watch": "npm run test:js -- --watch",
"test:php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/amp/ env WORDPRESS_TABLE_PREFIX=wptests_ vendor/bin/phpunit",
"test:php:coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/amp/ env WORDPRESS_TABLE_PREFIX=wptests_ vendor/bin/phpunit --coverage-html /var/www/html/wp-content/plugins/amp/coverage",
"test:php:multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/amp/ env WORDPRESS_TABLE_PREFIX=wptests_ WP_MULTISITE=1 vendor/bin/phpunit",
"test:php:xdebug": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/amp/ env WORDPRESS_TABLE_PREFIX=wptests_ PHP_IDE_CONFIG=serverName=localhost vendor/bin/phpunit",
"update-wordpress-packages": "npm i $(npm outdated --parseable | cut -d':' -f 4 | grep @wordpress)",
"update-analytics-vendors": "node ./bin/update-analytics-vendors.js",
"update-ecosystem-files": "node ./bin/update-extension-files.js",
"wp-env": "wp-env"
},
"npmpackagejsonlint": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-version": "off"
}
},
"title": "AMP for WordPress"
}