-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 4.08 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
{
"name": "contextual-featured-images",
"title": "Contextual Featured Images",
"version": "1.0.0",
"homepage": "https://dunktree.com/",
"license": "GPL-2.0+",
"main": "webpack.mix.js",
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"docker:compose": "yarn docker:env && docker-compose -f docker/docker-compose.yml",
"docker:up": "yarn docker:compose up",
"docker:stop": "yarn docker:compose stop",
"docker:down": "yarn docker:compose down",
"docker:build": "docker run -it --rm -v ${PWD}:/usr/src/app -w /usr/src/app node yarn build",
"docker:build-image": "yarn docker:compose build",
"docker:wp": "yarn docker:compose exec wordpress wp --allow-root --path=/var/www/html/",
"docker:install": "yarn docker:compose exec wordpress bash -c \"/var/scripts/install.sh\"",
"docker:uninstall": "yarn docker:compose exec wordpress bash -c \"/var/scripts/uninstall.sh\"",
"docker:multisite-convert": "yarn docker:compose exec wordpress bash -c \"/var/scripts/multisite-convert.sh\"",
"docker:sh": "yarn docker:compose exec wordpress bash",
"docker:phpunit": "yarn docker:compose exec wordpress phpunit --configuration=/var/www/html/wp-content/plugins/contextual-featured-images/phpunit.xml.dist",
"docker:phpunit:multisite": "yarn docker:compose exec wordpress phpunit --configuration=/var/www/html/wp-content/plugins/contextual-featured-images/tests/php.multisite.xml",
"docker:tail": "yarn docker:compose exec wordpress bash -c \"/var/scripts/tail.sh\"",
"docker:clean": "yarn docker:compose down --rmi all -v && rm -rf docker/wordpress/* docker/wordpress/.htaccess docker/wordpress-develop/* docker/logs/* docker/data/mysql/*",
"docker:env": "node -e \"require('fs').createWriteStream( 'docker/.env', { flags: 'a' } );\"",
"docker:update-core-unit-tests": "yarn docker:compose exec wordpress svn up /tmp/wordpress-develop/tests/phpunit/data/ /tmp/wordpress-develop/tests/phpunit/includes"
},
"devDependencies": {
"@babel/preset-react": "^7.0.0",
"@wordpress/babel-plugin-makepot": "^3.2.0",
"autoprefixer": "9.6.1",
"babel": "6.23.0",
"babel-cli": "6.26.0",
"babel-eslint": "10.0.2",
"babel-plugin-add-module-exports": "1.0.2",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-2": "6.24.1",
"config": "3.2.2",
"cross-env": "5.2.0",
"eslint": "6.1.0",
"grunt": "1.0.4",
"grunt-checktextdomain": "1.0.1",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-cssmin": "3.0.0",
"grunt-contrib-jshint": "2.1.0",
"grunt-contrib-uglify": "4.0.1",
"grunt-contrib-watch": "1.1.0",
"grunt-phpcs": "0.4.0",
"grunt-postcss": "0.9.0",
"grunt-prompt": "1.3.3",
"grunt-rtlcss": "2.0.1",
"grunt-sass": "3.0.2",
"grunt-shell": "3.0.1",
"grunt-stylelint": "0.11.1",
"grunt-wp-i18n": "1.0.3",
"node-sass": "4.12.0",
"resolve-url-loader": "^3.1.0",
"sass-loader": "^7.2.0",
"stylelint": "10.1.0",
"stylelint-config-wordpress": "14.0.0"
},
"browserslist": [
"> 0.1%",
"ie 8",
"ie 9"
],
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@wordpress/i18n": "^3.6.0",
"babel-loader": "^8.0.6",
"jquery": "^3.4.1",
"laravel-mix": "^4.1.2",
"react-dom": "^16.9.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7",
"webpack-rtl-plugin": "^2.0.0",
"wp-pot": "^1.7.2"
},
"engines": {
"node": ">=10",
"yarn": "^1.3.2"
}
}