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 93e123039..4c560c85e 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", |
… |
… |
|
44 | 45 | "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build", |
45 | 46 | "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", |
46 | 47 | "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", |
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 | "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", |
| 49 | "wp-env": "wp-env" |
48 | 50 | }, |
49 | 51 | "keywords": [ |
50 | 52 | "activity", |