diff --git Gruntfile.js Gruntfile.js
index 3b4086743..62de51708 100644
|
|
module.exports = function( grunt ) { |
377 | 377 | grunt.registerTask( 'makepot', ['exec:makepot'] ); |
378 | 378 | grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin', 'phplint', 'exec:phpcompat'] ); |
379 | 379 | grunt.registerTask( 'bp_rest', [ 'exec:rest_api', 'copy:bp_rest_components', 'copy:bp_rest_core', 'clean:bp_rest' ] ); |
380 | | grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_src', 'cssmin', 'bp_rest', 'makepot', 'exec:blocks_build', 'exec:bpdefault', 'exec:cli'] ); |
| 380 | grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_build', 'cssmin', 'bp_rest', 'makepot', 'exec:bpdefault', 'exec:cli'] ); |
381 | 381 | grunt.registerTask( 'release', ['build'] ); |
382 | 382 | |
383 | 383 | // Testing tasks. |
diff --git package.json package.json
index 9c79a93b9..247e016f0 100644
|
|
|
40 | 40 | "scripts": { |
41 | 41 | "start": "npm run dev:components && parcel watch src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps", |
42 | 42 | "dev": "npm run dev:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps --no-minify", |
43 | | "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build --no-source-maps", |
| 43 | "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build", |
44 | 44 | "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 | 45 | "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 --no-source-maps --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 | 47 | }, |
48 | 48 | "keywords": [ |
49 | 49 | "activity", |