diff --git .gitignore .gitignore
index f26f47fbd..cc3f92c79 100644
|
|
npm-debug.log |
23 | 23 | |
24 | 24 | # The build directory. |
25 | 25 | build |
| 26 | |
| 27 | # The custom Docker config file. |
| 28 | .wp-env.override.json |
diff --git .wp-env.json .wp-env.json
new file mode 100644
index 000000000..895138097
-
|
+
|
|
| 1 | { |
| 2 | "core": null, |
| 3 | "plugins": [ ".", "buddypress/BP-REST#master" ], |
| 4 | "config": { "WP_DEBUG": true, "SCRIPT_DEBUG": true } |
| 5 | } |
diff --git package.json package.json
index ab5941fea..895d163e3 100644
|
|
|
8 | 8 | "@babel/core": "~7.8.7", |
9 | 9 | "@wordpress/babel-preset-default": "~4.10.0", |
10 | 10 | "@wordpress/browserslist-config": "~2.1.4", |
| 11 | "@wordpress/env": "~1.4.0", |
11 | 12 | "autoprefixer": "~8.5.2", |
12 | 13 | "grunt": "~1.1.0", |
13 | 14 | "grunt-check-dependencies": "~1.0.0", |
… |
… |
|
23 | 24 | "grunt-jsvalidate": "~0.2.2", |
24 | 25 | "grunt-legacy-util": "~1.1.1", |
25 | 26 | "grunt-patch-wordpress": "~1.0.0", |
26 | | "phplint": "^2.0.1", |
27 | 27 | "grunt-postcss": "~0.9.0", |
28 | 28 | "grunt-rtlcss": "~2.0.1", |
29 | 29 | "grunt-sass": "~2.0.0", |
30 | 30 | "grunt-stylelint": "~0.12.0", |
31 | 31 | "matchdep": "~2.0.0", |
32 | 32 | "parcel-bundler": "~1.12.4", |
| 33 | "phplint": "^2.0.1", |
33 | 34 | "postcss-scss": "~2.0.0", |
34 | 35 | "stylelint": "~11.0.0", |
35 | 36 | "stylelint-config-wordpress": "~16.0.0" |
… |
… |
|
43 | 44 | "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build", |
44 | 45 | "watch:components": "parcel watch src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --global bp", |
45 | 46 | "dev:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --no-minify --global bp", |
46 | | "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bp" |
| 47 | "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bp", |
| 48 | "wp-env": "wp-env" |
47 | 49 | }, |
48 | 50 | "keywords": [ |
49 | 51 | "activity", |