forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
199 lines (199 loc) · 6.45 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "gutenberg",
"version": "3.2.0",
"private": true,
"description": "A new WordPress editor experience",
"repository": "git+https://github.com/WordPress/gutenberg.git",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"editor"
],
"engines": {
"node": ">=8.0.0",
"npm": ">=6.0.0"
},
"dependencies": {
"@wordpress/a11y": "1.0.6",
"@wordpress/autop": "1.0.4",
"@wordpress/dom-ready": "1.0.4",
"@wordpress/hooks": "1.1.6",
"@wordpress/i18n": "1.1.0",
"@wordpress/is-shallow-equal": "1.0.2",
"@wordpress/url": "1.1.0",
"@wordpress/wordcount": "1.0.2",
"classnames": "2.2.5",
"clipboard": "1.7.1",
"dom-react": "2.2.1",
"dom-scroll-into-view": "1.2.1",
"element-closest": "2.0.2",
"equivalent-key-map": "0.2.0",
"escape-string-regexp": "1.0.5",
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#1774343f6226052a46b081e01db3fca8793cc9f1",
"hpq": "1.2.0",
"http-build-query": "0.7.0",
"jquery": "3.3.1",
"js-beautify": "1.6.14",
"lerna": "2.11.0",
"lodash": "4.17.5",
"memize": "1.0.5",
"moment": "2.22.1",
"moment-timezone": "0.5.16",
"mousetrap": "1.6.2",
"prop-types": "15.5.10",
"querystringify": "1.0.0",
"re-resizable": "4.4.8",
"react": "16.4.1",
"react-autosize-textarea": "3.0.2",
"react-click-outside": "2.3.1",
"react-color": "2.13.4",
"react-datepicker": "1.4.1",
"react-dom": "16.4.1",
"redux": "3.7.2",
"redux-multi": "0.1.12",
"redux-optimist": "1.0.0",
"refx": "3.0.0",
"rememo": "3.0.0",
"showdown": "1.8.6",
"simple-html-tokenizer": "0.4.1",
"tinycolor2": "1.4.1",
"tinymce": "4.7.2",
"uuid": "3.1.0"
},
"devDependencies": {
"@wordpress/babel-plugin-makepot": "1.0.1",
"@wordpress/babel-preset-default": "1.3.0",
"@wordpress/browserslist-config": "2.1.4",
"@wordpress/custom-templated-path-webpack-plugin": "1.0.2",
"@wordpress/jest-preset-default": "1.0.6",
"@wordpress/scripts": "1.2.0",
"autoprefixer": "8.2.0",
"babel-core": "6.26.0",
"babel-eslint": "8.0.3",
"babel-loader": "7.1.4",
"babel-plugin-transform-async-generator-functions": "6.24.1",
"check-node-version": "3.1.1",
"codecov": "3.0.2",
"concurrently": "3.5.0",
"core-js": "2.5.3",
"cross-env": "3.2.4",
"deep-freeze": "0.0.1",
"doctrine": "2.1.0",
"eslint": "4.16.0",
"eslint-config-wordpress": "2.0.0",
"eslint-plugin-jest": "21.5.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.7.0",
"espree": "3.5.4",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"node-sass": "git://github.com/sass/node-sass.git#v4.7.0",
"pegjs": "0.10.0",
"pegjs-loader": "0.5.4",
"phpegjs": "1.0.0-beta7",
"postcss-color-function": "4.0.1",
"postcss-loader": "2.1.3",
"puppeteer": "1.2.0",
"raw-loader": "0.5.1",
"react-test-renderer": "16.4.1",
"sass-loader": "6.0.7",
"sprintf-js": "1.1.1",
"style-loader": "0.20.3",
"webpack": "4.8.3",
"webpack-cli": "2.1.3",
"webpack-livereload-plugin": "2.1.1",
"webpack-rtl-plugin": "github:yoavf/webpack-rtl-plugin#develop"
},
"babel": {
"presets": [
"@wordpress/default"
],
"plugins": [
[
"./packages/babel-plugin-import-jsx-pragma",
{
"scopeVariable": "createElement",
"source": "@wordpress/element",
"isDefault": false
}
],
[
"babel-plugin-transform-react-jsx",
{
"pragma": "createElement"
}
]
],
"env": {
"production": {
"plugins": [
[
"@wordpress/babel-plugin-makepot",
{
"output": "languages/gutenberg.pot"
}
]
]
}
}
},
"npmPackageJsonLintConfig": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-publishConfig": "error",
"valid-values-author": [
"error",
[
"The WordPress Contributors"
]
],
"valid-values-publishConfig": [
"error",
[
{
"access": "public"
}
]
]
}
},
"scripts": {
"prebuild": "npm run check-engines",
"clean:packages": "rimraf ./packages/*/build ./packages/*/build-module",
"prebuild:packages": "npm run clean:packages && cross-env INCLUDE_PACKAGES=babel-plugin-import-jsx-pragma SKIP_JSX_PRAGMA_TRANSFORM=1 node ./bin/packages/build.js",
"build:packages": "cross-env EXCLUDE_PACKAGES=babel-plugin-import-jsx-pragma node ./bin/packages/build.js",
"build": "npm run build:packages && cross-env NODE_ENV=production webpack",
"check-engines": "check-node-version --package",
"ci": "concurrently \"npm run lint && npm run build\" \"npm run test-unit:coverage-ci\"",
"predev": "npm run check-engines",
"dev": "npm run build:packages && concurrently \"cross-env webpack --watch\" \"npm run dev:packages\"",
"dev:packages": "node ./bin/packages/watch.js",
"docs:build": "node docs/tool",
"fixtures:clean": "rimraf \"core-blocks/test/fixtures/*.+(json|serialized.html)\"",
"fixtures:server-registered": "docker-compose run -w /var/www/html/wp-content/plugins/gutenberg --rm wordpress ./bin/get-server-blocks.php > core-blocks/test/server-registered.json",
"fixtures:generate": "npm run fixtures:server-registered && cross-env GENERATE_MISSING_FIXTURES=y npm run test-unit",
"fixtures:regenerate": "npm run fixtures:clean && npm run fixtures:generate",
"lint": "npm run lint-js && npm run lint-pkg-json",
"lint-js": "eslint .",
"lint-js:fix": "eslint . --fix",
"lint-php": "docker-compose run --rm composer run-script lint",
"lint-pkg-json": "wp-scripts lint-pkg-json ./packages",
"package-plugin": "./bin/build-plugin-zip.sh",
"postinstall": "lerna bootstrap --hoist && npm run build:packages",
"pot-to-php": "./bin/pot-to-php.js",
"publish:check": "lerna updated",
"publish:dev": "lerna publish --npm-tag next",
"publish:prod": "lerna publish",
"test": "npm run lint && npm run test-unit",
"test-e2e": "wp-scripts test-unit-js --config test/e2e/jest.config.json --runInBand",
"test-e2e:watch": "npm run test-e2e -- --watch",
"test-php": "npm run lint-php && npm run test-unit-php",
"test-unit": "wp-scripts test-unit-js --config test/unit/jest.config.json",
"test-unit:coverage": "npm run test-unit -- --coverage",
"test-unit:coverage-ci": "npm run test-unit -- --coverage --maxWorkers 1 && codecov",
"test-unit:update": "npm run test-unit -- --updateSnapshot",
"test-unit:watch": "npm run test-unit -- --watch",
"test-unit-php": "docker-compose run --rm wordpress_phpunit phpunit",
"test-unit-php-multisite": "docker-compose run -e WP_MULTISITE=1 --rm wordpress_phpunit phpunit"
}
}