This repository has been archived by the owner on Feb 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
60 lines (60 loc) · 1.72 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
{
"name": "gutenberg-fields-middleware",
"title": "Gutenberg Fields Middleware",
"version": "0.3.0",
"main": "middleware/index.js",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@babel/plugin-transform-react-jsx-source": "^7.0.0",
"@wordpress/babel-preset-default": "1.1.1",
"@wordpress/hooks": "1.1.4",
"@wordpress/i18n": "^1.1.0",
"@wordpress/jest-preset-default": "^4.1.0",
"autoprefixer": "^8.3.0",
"babel-core": "^6.26.2",
"babel-jest": "^24.8.0",
"babel-loader": "^7.1.2",
"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-preset-react": "^6.24.1",
"classnames": "2.2.5",
"cross-env": "^3.2.4",
"css-loader": "^2.1.1",
"extract-text-webpack-plugin": "^3.0.2",
"glob": "^7.1.2",
"jest": "^24.8.0",
"lodash": "^4.17.13",
"node-sass": "^4.9.3",
"postcss-loader": "^2.1.4",
"react": "16.3.0",
"react-dom": "^16.4.2",
"react-test-renderer": "^16.3.2",
"sass-loader": "^7.0.1",
"style-loader": "^0.20.1",
"underscore": "^1.9.0",
"webpack": "^3.10.0"
},
"scripts": {
"build": "cross-env BABEL_ENV=default NODE_ENV=production PROD_ENV=1 webpack",
"dev": "cross-env BABEL_ENV=default webpack --watch",
"test": "jest"
},
"jest": {
"preset": "@wordpress/jest-preset-default",
"verbose": true,
"moduleNameMapper": {
"@wordpress\\/(blocks|components|date|editor|element|data|utils|edit-post|viewport|plugins|core-data)": "<rootDir>/../gutenberg/$1/index.js"
},
"setupFiles": [
"<rootDir>/test/unit/setup-blocks.js",
"<rootDir>/test/unit/setup-wp-aliases.js"
]
},
"browserslist": [
"> 1%",
"ie 11",
"last 2 versions"
]
}