Changeset 12135
- Timestamp:
- 05/27/2018 11:09:07 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r11999 r12135 28 28 ], 29 29 30 autoprefixer = require('autoprefixer'), 30 31 stylelintConfigCss = require('stylelint-config-wordpress/index.js'), 31 32 stylelintConfigScss = require('stylelint-config-wordpress/scss.js'); … … 241 242 } 242 243 }, 244 postcss: { 245 options: { 246 map: false, 247 processors: [ 248 autoprefixer({ 249 browsers: ['extends @wordpress/browserslist-config'], 250 cascade: false 251 }) 252 ], 253 failOnError: false 254 }, 255 css: { 256 expand: true, 257 cwd: SOURCE_DIR, 258 dest: SOURCE_DIR, 259 src: BP_CSS.concat( BP_EXCLUDED_CSS, BP_EXCLUDED_MISC ) 260 } 261 }, 243 262 cssmin: { 244 263 minify: { … … 310 329 * Register tasks. 311 330 */ 312 grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'stylelint', 'sass', ' rtlcss'] );331 grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'stylelint', 'sass', 'postcss', 'rtlcss'] ); 313 332 grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin'] ); 314 333 grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify', 'jsvalidate:build', 'cssmin', 'makepot', 'exec:bpdefault', 'exec:cli'] ); -
trunk/npm-shrinkwrap.json
r12097 r12135 5 5 "requires": true, 6 6 "dependencies": { 7 "@wordpress/browserslist-config": { 8 "version": "2.1.4", 9 "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-2.1.4.tgz", 10 "integrity": "sha512-J8vd88IFsjYwYZSIVATDjWa0pH997zvQ6quor30UdwhqdZ4ZWxIh4AEADqZA3I4EwskWVmg9n9DF7jVUDZPxwg==", 11 "dev": true 12 }, 7 13 "JSONStream": { 8 14 "version": "0.8.4", … … 216 222 }, 217 223 "autoprefixer": { 218 "version": " 6.7.7",219 "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer- 6.7.7.tgz",220 "integrity": "sha 1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=",221 "dev": true, 222 "requires": { 223 "browserslist": " 1.7.7",224 "caniuse- db": "1.0.30000676",224 "version": "8.5.1", 225 "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.5.1.tgz", 226 "integrity": "sha512-0zXQ6OqbnVaplQKkKTASxHFPMNy6WfrXS5QRDJ4zTDxEBB3r7NPDSK4h9KCyQi1tq0tX5MsN4RdzChVBn2k/aw==", 227 "dev": true, 228 "requires": { 229 "browserslist": "3.2.8", 230 "caniuse-lite": "1.0.30000846", 225 231 "normalize-range": "0.1.2", 226 232 "num2fraction": "1.2.2", 227 "postcss": " 5.2.17",233 "postcss": "6.0.22", 228 234 "postcss-value-parser": "3.3.0" 229 235 }, 230 236 "dependencies": { 237 "ansi-styles": { 238 "version": "3.2.1", 239 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 240 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 241 "dev": true, 242 "requires": { 243 "color-convert": "1.9.1" 244 } 245 }, 246 "browserslist": { 247 "version": "3.2.8", 248 "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", 249 "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", 250 "dev": true, 251 "requires": { 252 "caniuse-lite": "1.0.30000846", 253 "electron-to-chromium": "1.3.48" 254 } 255 }, 256 "chalk": { 257 "version": "2.4.1", 258 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", 259 "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", 260 "dev": true, 261 "requires": { 262 "ansi-styles": "3.2.1", 263 "escape-string-regexp": "1.0.5", 264 "supports-color": "5.4.0" 265 } 266 }, 267 "electron-to-chromium": { 268 "version": "1.3.48", 269 "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz", 270 "integrity": "sha1-07DYWTgUBE4JLs4hCPw6ya6kuQA=", 271 "dev": true 272 }, 273 "has-flag": { 274 "version": "3.0.0", 275 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 276 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 277 "dev": true 278 }, 231 279 "postcss": { 232 "version": "5.2.17", 233 "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.17.tgz", 234 "integrity": "sha1-z09Ze4ZNZcikkrLqvp1wbIecOIs=", 235 "dev": true, 236 "requires": { 237 "chalk": "1.1.3", 238 "js-base64": "2.1.9", 239 "source-map": "0.5.6", 240 "supports-color": "3.2.3" 280 "version": "6.0.22", 281 "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.22.tgz", 282 "integrity": "sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA==", 283 "dev": true, 284 "requires": { 285 "chalk": "2.4.1", 286 "source-map": "0.6.1", 287 "supports-color": "5.4.0" 241 288 } 242 289 }, 243 290 "source-map": { 244 "version": "0. 5.6",245 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0. 5.6.tgz",246 "integrity": "sha 1-dc449SvwczxafwwRjYEzSiu19BI=",291 "version": "0.6.1", 292 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 293 "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 247 294 "dev": true 248 295 }, 249 296 "supports-color": { 250 "version": " 3.2.3",251 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color- 3.2.3.tgz",252 "integrity": "sha 1-ZawFBLOVQXHYpklGsq48u4pfVPY=",253 "dev": true, 254 "requires": { 255 "has-flag": " 1.0.0"297 "version": "5.4.0", 298 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 299 "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 300 "dev": true, 301 "requires": { 302 "has-flag": "3.0.0" 256 303 } 257 304 } … … 529 576 "dev": true 530 577 }, 578 "caniuse-lite": { 579 "version": "1.0.30000846", 580 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000846.tgz", 581 "integrity": "sha512-qxUOHr5mTaadWH1ap0ueivHd8x42Bnemcn+JutVr7GWmm2bU4zoBhjuv5QdXgALQnnT626lOQros7cCDf8PwCg==", 582 "dev": true 583 }, 531 584 "capture-stack-trace": { 532 585 "version": "1.0.0", … … 1288 1341 "fs-exists-sync": "0.1.0" 1289 1342 } 1343 }, 1344 "diff": { 1345 "version": "3.5.0", 1346 "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 1347 "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", 1348 "dev": true 1290 1349 }, 1291 1350 "doiuse": { … … 2663 2722 "sprintf-js": "1.0.3", 2664 2723 "util-deprecate": "1.0.2" 2724 } 2725 } 2726 } 2727 }, 2728 "grunt-postcss": { 2729 "version": "0.9.0", 2730 "resolved": "https://registry.npmjs.org/grunt-postcss/-/grunt-postcss-0.9.0.tgz", 2731 "integrity": "sha512-lglLcVaoOIqH0sFv7RqwUKkEFGQwnlqyAKbatxZderwZGV1nDyKHN7gZS9LUiTx1t5GOvRBx0BEalHMyVwFAIA==", 2732 "dev": true, 2733 "requires": { 2734 "chalk": "2.4.1", 2735 "diff": "3.5.0", 2736 "postcss": "6.0.22" 2737 }, 2738 "dependencies": { 2739 "ansi-styles": { 2740 "version": "3.2.1", 2741 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 2742 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 2743 "dev": true, 2744 "requires": { 2745 "color-convert": "1.9.1" 2746 } 2747 }, 2748 "chalk": { 2749 "version": "2.4.1", 2750 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", 2751 "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", 2752 "dev": true, 2753 "requires": { 2754 "ansi-styles": "3.2.1", 2755 "escape-string-regexp": "1.0.5", 2756 "supports-color": "5.4.0" 2757 } 2758 }, 2759 "has-flag": { 2760 "version": "3.0.0", 2761 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 2762 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 2763 "dev": true 2764 }, 2765 "postcss": { 2766 "version": "6.0.22", 2767 "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.22.tgz", 2768 "integrity": "sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA==", 2769 "dev": true, 2770 "requires": { 2771 "chalk": "2.4.1", 2772 "source-map": "0.6.1", 2773 "supports-color": "5.4.0" 2774 } 2775 }, 2776 "source-map": { 2777 "version": "0.6.1", 2778 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2779 "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 2780 "dev": true 2781 }, 2782 "supports-color": { 2783 "version": "5.4.0", 2784 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 2785 "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 2786 "dev": true, 2787 "requires": { 2788 "has-flag": "3.0.0" 2665 2789 } 2666 2790 } … … 5583 5707 "dev": true, 5584 5708 "requires": { 5585 "autoprefixer": "6.7.7",5586 5709 "balanced-match": "0.4.2", 5587 5710 "chalk": "1.1.3", -
trunk/package.json
r12097 r12135 6 6 "description": "BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!", 7 7 "devDependencies": { 8 "@wordpress/browserslist-config": "~2.1.4", 9 "autoprefixer": "~8.5.1", 8 10 "grunt": "^1.0.2", 9 11 "grunt-check-dependencies": "~1.0.0", … … 20 22 "grunt-legacy-util": "^1.0.0", 21 23 "grunt-patch-wordpress": "~0.4.2", 24 "grunt-postcss": "~0.9.0", 22 25 "grunt-rtlcss": "~2.0.1", 23 26 "grunt-sass": "~2.0.0", … … 25 28 "grunt-wp-i18n": "^1.0.2", 26 29 "matchdep": "~1.0.1", 27 "postcss-scss": " ^1.0.5",30 "postcss-scss": "~1.0.5", 28 31 "stylelint": "~7.10.1", 29 32 "stylelint-config-wordpress": "~11.0.0" … … 50 53 }, 51 54 "version": "3.0.0", 52 "dependencies": {} 55 "dependencies": {}, 56 "browserslist": [ 57 "extends @wordpress/browserslist-config" 58 ] 53 59 }
Note: See TracChangeset
for help on using the changeset viewer.