-
Notifications
You must be signed in to change notification settings - Fork 381
/
package.json
146 lines (146 loc) · 5.16 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
{
"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"
},
"dependencies": {
"prop-types": "15.7.2"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.7",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/polyfill": "7.8.7",
"@wordpress/babel-preset-default": "4.10.0",
"@wordpress/block-editor": "3.7.5",
"@wordpress/blocks": "6.12.1",
"@wordpress/browserslist-config": "2.6.0",
"@wordpress/components": "9.2.4",
"@wordpress/compose": "3.11.0",
"@wordpress/data": "4.14.1",
"@wordpress/dom-ready": "2.7.0",
"@wordpress/e2e-test-utils": "4.3.1",
"@wordpress/edit-post": "3.13.6",
"@wordpress/element": "2.11.0",
"@wordpress/eslint-plugin": "3.4.1",
"@wordpress/hooks": "2.7.0",
"@wordpress/i18n": "3.9.0",
"@wordpress/jest-puppeteer-axe": "1.6.0",
"@wordpress/plugins": "2.12.0",
"@wordpress/scripts": "5.1.0",
"@wordpress/url": "2.9.0",
"autoprefixer": "9.7.4",
"babel-eslint": "10.1.0",
"babel-jest": "25.1.0",
"babel-loader": "8.0.6",
"babel-plugin-inline-react-svg": "1.1.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"browserslist": "4.10.0",
"core-js": "3.6.4",
"cross-env": "7.0.2",
"css-loader": "3.4.2",
"cssnano": "4.1.10",
"enzyme": "3.11.0",
"eslint": "6.8.0",
"eslint-plugin-eslint-comments": "3.1.2",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-react": "7.19.0",
"grunt": "1.1.0",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-copy": "1.0.0",
"grunt-shell": "3.0.1",
"grunt-wp-deploy": "2.0.0",
"husky": "4.2.3",
"jest-silent-reporter": "0.2.1",
"lodash": "4.17.15",
"mini-css-extract-plugin": "0.9.0",
"moment": "2.24.0",
"npm-run-all": "4.1.5",
"optimize-css-assets-webpack-plugin": "5.0.3",
"postcss": "7.0.27",
"postcss-color-function": "4.1.0",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-nested": "4.2.1",
"postcss-preset-env": "6.7.0",
"react": "16.13.0",
"react-dom": "16.13.0",
"rtlcss": "2.5.0",
"rtlcss-webpack-plugin": "4.0.3",
"source-map-loader": "0.2.4",
"svg-inline-loader": "0.8.2",
"terser-webpack-plugin": "2.3.5",
"travis-size-report": "1.1.0",
"uuid": "7.0.2",
"webpack": "4.42.0",
"webpack-cli": "3.3.11",
"webpackbar": "4.0.0"
},
"scripts": {
"build": "npm-run-all build:*",
"build:prepare": "grunt clean",
"build:css": "npm-run-all build:css:*",
"build:css:copy": "cp -R assets/css/src/* assets/css",
"build:css:rtlcss": "rtlcss -d assets/css/src assets/css -e '-rtl.css'",
"build:js": "wp-scripts build",
"build:run": "grunt build",
"build:zip": "grunt create-build-zip",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses --production",
"deploy": "grunt deploy",
"dev": "wp-scripts start",
"diff-develop": "git diff develop --diff-filter=d --name-only",
"env:start": "./bin/local-env/start.sh",
"env:stop": "./bin/local-env/stop.sh",
"env:reset-site": "./bin/local-env/install-wordpress.sh --reset-site",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "npm run diff-develop | grep -E 'css$' | xargs wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "npm run diff-develop | grep -E '\\.js$' | xargs wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:php": "npm run diff-develop | grep -E '\\.php$' | xargs vendor/bin/phpcs",
"lint:plugin-bootstrap": "vendor/bin/phpcs --runtime-set testVersion 5.2- amp.php",
"lint:php:fix": "npm run diff-develop | grep -E '\\.php$' | xargs ./bin/phpcbf.sh",
"lint:pkg-json": "wp-scripts lint-pkg-json --ignorePath .gitignore",
"start": "wp-scripts start",
"test": "npm-run-all --parallel test:*",
"test:e2e": "cross-env WP_BASE_URL=http://localhost:8890 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": "npm run test:e2e -- --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:watch": "npm run test:js -- --watch",
"test:php": "phpunit",
"test:php:help": "npm run test:php -- --help"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"npmPackageJsonLintConfig": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-version": "off"
}
},
"title": "AMP for WordPress"
}