forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 4.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
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": "gutenberg",
"version": "2.5.0",
"description": "A new WordPress editor experience",
"main": "build/app.js",
"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": ">=5.0.0"
},
"dependencies": {
"@wordpress/a11y": "1.0.6",
"@wordpress/autop": "1.0.4",
"@wordpress/hooks": "1.1.6",
"@wordpress/url": "1.0.3",
"classnames": "2.2.5",
"clipboard": "1.7.1",
"dom-react": "2.2.0",
"dom-scroll-into-view": "1.2.1",
"element-closest": "2.0.2",
"escape-string-regexp": "1.0.5",
"eslint-plugin-wordpress": "git://github.com/WordPress-Coding-Standards/eslint-plugin-wordpress.git#1774343f6226052a46b081e01db3fca8793cc9f1",
"hpq": "1.2.0",
"jed": "1.1.1",
"jquery": "3.2.1",
"js-beautify": "1.6.14",
"lodash": "4.17.4",
"memize": "1.0.5",
"moment": "2.21.0",
"moment-timezone": "0.5.13",
"mousetrap": "1.6.1",
"prop-types": "15.5.10",
"querystringify": "1.0.0",
"re-resizable": "4.0.3",
"react": "16.3.0",
"react-autosize-textarea": "3.0.2",
"react-click-outside": "2.3.1",
"react-color": "2.13.4",
"react-datepicker": "0.61.0",
"react-dom": "16.3.0",
"react-redux": "5.0.6",
"redux": "3.7.2",
"redux-multi": "0.1.12",
"redux-optimist": "1.0.0",
"refx": "3.0.0",
"rememo": "2.4.0",
"shallowequal": "1.0.2",
"showdown": "1.7.4",
"simple-html-tokenizer": "0.4.1",
"tinycolor2": "1.4.1",
"uuid": "3.1.0"
},
"devDependencies": {
"@wordpress/babel-preset-default": "1.1.1",
"@wordpress/custom-templated-path-webpack-plugin": "1.0.0",
"@wordpress/jest-preset-default": "1.0.3",
"@wordpress/scripts": "1.1.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",
"babel-traverse": "6.26.0",
"check-node-version": "3.1.1",
"codecov": "3.0.0",
"concurrently": "3.5.0",
"core-js": "2.5.3",
"cross-env": "3.2.4",
"deep-freeze": "0.0.1",
"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",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"gettext-parser": "1.3.0",
"node-sass": "4.7.2",
"pegjs": "0.10.0",
"pegjs-loader": "0.5.4",
"phpegjs": "1.0.0-beta7",
"postcss-loader": "2.1.3",
"puppeteer": "1.2.0",
"raw-loader": "0.5.1",
"react-test-renderer": "16.3.0",
"sass-loader": "6.0.7",
"sprintf-js": "1.1.1",
"style-loader": "0.20.3",
"tinymce": "4.7.2",
"webpack": "4.4.1",
"webpack-cli": "2.0.13",
"webpack-rtl-plugin": "github:yoavf/webpack-rtl-plugin#develop"
},
"babel": {
"presets": [
"@wordpress/default"
],
"plugins": [
"transform-async-generator-functions"
],
"env": {
"production": {
"plugins": [
[
"./i18n/babel-plugin",
{
"output": "languages/gutenberg.pot"
}
],
"transform-async-generator-functions"
]
}
}
},
"scripts": {
"prebuild": "check-node-version --package",
"build": "cross-env NODE_ENV=production webpack",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint-php": "docker-compose run --rm composer run-script lint",
"predev": "check-node-version --package",
"dev": "cross-env webpack --watch",
"test": "npm run lint && npm run test-unit",
"test-php": "npm run lint-php && npm run test-unit-php",
"ci": "concurrently \"npm run lint && npm run build\" \"npm run test-unit:coverage-ci\"",
"fixtures:clean": "rimraf \"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 > 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",
"package-plugin": "./bin/build-plugin-zip.sh",
"pot-to-php": "./bin/pot-to-php.js",
"test-unit": "wp-scripts test-unit-js --config test/unit/jest.config.json",
"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",
"test-unit:coverage": "npm run test-unit -- --coverage",
"test-unit:coverage-ci": "npm run test-unit -- --coverage --maxWorkers 1 && codecov",
"test-unit:watch": "npm run test-unit -- --watch",
"test-e2e": "wp-scripts test-unit-js --config test/e2e/jest.config.json",
"test-e2e:watch": "npm run test-e2e -- --watch"
}
}