forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 5.3 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
{
"name": "gutenberg",
"version": "2.1.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.3",
"@wordpress/autop": "1.0.0",
"@wordpress/hooks": "1.1.1",
"@wordpress/jest-console": "1.0.0",
"@wordpress/url": "1.0.0",
"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#327b6bdec434177a6e841bd3210e87627ccfcecb",
"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.18.1",
"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.2.0",
"react-autosize-textarea": "2.0.0",
"react-click-outside": "2.3.1",
"react-color": "2.13.4",
"react-datepicker": "0.61.0",
"react-dom": "16.2.0",
"react-redux": "5.0.6",
"redux": "3.7.2",
"redux-multi": "0.1.12",
"redux-optimist": "0.0.2",
"refx": "3.0.0",
"rememo": "2.3.4",
"showdown": "1.7.4",
"simple-html-tokenizer": "0.4.1",
"tinycolor2": "1.4.1",
"uuid": "3.1.0"
},
"devDependencies": {
"autoprefixer": "6.7.7",
"babel-core": "6.26.0",
"babel-eslint": "8.0.3",
"babel-jest": "22.0.4",
"babel-loader": "7.1.2",
"babel-plugin-lodash": "3.2.11",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.0",
"babel-traverse": "6.26.0",
"check-node-version": "3.1.1",
"codecov": "3.0.0",
"concurrently": "3.5.0",
"cross-env": "3.2.4",
"cypress": "1.4.1",
"deep-freeze": "0.0.1",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "1.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.5.1",
"expose-loader": "0.7.3",
"extract-text-webpack-plugin": "3.0.0",
"gettext-parser": "1.3.0",
"jest": "22.0.4",
"jest-enzyme": "4.0.2",
"jest-matcher-utils": "22.0.3",
"node-sass": "4.7.2",
"pegjs": "0.10.0",
"pegjs-loader": "0.5.4",
"phpegjs": "1.0.0-beta7",
"postcss-loader": "2.0.6",
"prismjs": "1.6.0",
"raw-loader": "0.5.1",
"react-test-renderer": "16.0.0",
"sass-loader": "6.0.6",
"sass-variables-loader": "0.1.3",
"sprintf-js": "1.1.1",
"style-loader": "0.18.2",
"tinymce": "4.7.2",
"webpack": "3.10.0",
"webpack-rtl-plugin": "github:yoavf/webpack-rtl-plugin#develop"
},
"jest": {
"collectCoverageFrom": [
"(blocks|components|date|editor|element|i18n|data|utils|edit-post)/**/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/[^/]+/build/index.js"
],
"coverageDirectory": "coverage",
"moduleNameMapper": {
"\\.(scss|css)$": "<rootDir>/test/unit/style-mock.js",
"@wordpress\\/(blocks|components|date|editor|element|i18n|data|utils|edit-post)": "$1"
},
"modulePaths": [
"<rootDir>"
],
"setupFiles": [
"<rootDir>/test/unit/setup-globals.js",
"<rootDir>/test/unit/setup-wp-aliases.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/unit/setup-test-framework.js",
"testMatch": [
"<rootDir>/(blocks|components|date|editor|element|i18n|data|utils|edit-post)/**/test/*.js"
],
"timers": "fake",
"transform": {
"^.+\\.jsx?$": "babel-jest",
"\\.pegjs$": "<rootDir>/test/unit/pegjs-transform.js"
},
"verbose": true
},
"scripts": {
"prebuild": "check-node-version --package",
"build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
"gettext-strings": "cross-env BABEL_ENV=gettext 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 BABEL_ENV=default 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",
"test-unit": "jest",
"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": "jest --coverage",
"test-unit:coverage-ci": "jest --coverage --maxWorkers 1 && codecov",
"test-unit:watch": "jest --watch",
"test-e2e": "cypress run --browser chrome",
"test-e2e:watch": "cypress open"
}
}