Changeset 33129
- Timestamp:
- 07/08/2015 07:53:22 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r32806 r33129 4 4 SOURCE_DIR = 'src/', 5 5 BUILD_DIR = 'build/', 6 autoprefixer = require('autoprefixer-core'), 6 7 mediaConfig = {}, 7 8 mediaBuilds = ['audiovideo', 'grid', 'models', 'views']; … … 20 21 // Project configuration. 21 22 grunt.initConfig({ 22 autoprefixer: {23 postcss: { 23 24 options: { 24 browsers: ['Android >= 2.1', 'Chrome >= 21', 'Explorer >= 7', 'Firefox >= 17', 'Opera >= 12.1', 'Safari >= 6.0'], 25 cascade: false 25 processors: [ 26 autoprefixer({ 27 browsers: ['Android >= 2.1', 'Chrome >= 21', 'Explorer >= 7', 'Firefox >= 17', 'Opera >= 12.1', 'Safari >= 6.0'], 28 cascade: false 29 }) 30 ] 26 31 }, 27 32 core: { … … 578 583 579 584 // Color schemes task. 580 grunt.registerTask('colors', ['sass:colors', ' autoprefixer:colors']);585 grunt.registerTask('colors', ['sass:colors', 'postcss:colors']); 581 586 582 587 // JSHint task. … … 607 612 608 613 grunt.registerTask( 'precommit', 'Runs front-end dev/test tasks in preparation for a commit.', [ 609 ' autoprefixer:core',614 'postcss:core', 610 615 'imagemin:core', 611 616 'browserify', -
trunk/package.json
r32988 r33129 10 10 "license": "GPL-2.0+", 11 11 "devDependencies": { 12 "autoprefixer-core": "~5.2.1", 12 13 "grunt": "~0.4.5", 13 "grunt-autoprefixer": "~3.0.0",14 14 "grunt-browserify": "~3.8.0", 15 15 "grunt-contrib-clean": "~0.6.0", … … 27 27 "grunt-legacy-util": "^0.2.0", 28 28 "grunt-patch-wordpress": "~0.3.0", 29 "grunt-postcss": "~0.5.4", 29 30 "grunt-rtlcss": "~1.6.0", 30 31 "grunt-sass": "~1.0.0",
Note: See TracChangeset
for help on using the changeset viewer.