Skip to:
Content

BuddyPress.org

Changeset 10703


Ignore:
Timestamp:
04/13/2016 11:04:24 PM (9 years ago)
Author:
djpaul
Message:

Specify minimum node and npm version in package.json.

Some of the NPM packages we use have minimum versions of node. This can lead to notices when a developer does an npm install on a machine with an older version of NPM, or when the grunt-check-dependencies task runs.

Fixes #7008

Props netweb

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r10699 r10703  
    5959    # prepare for running the tests
    6060    - cd $plugin_dir
     61    - gem install scss_lint
     62    # setup NodeJS version using NVM
     63    - node --version
     64    - nvm install 4
     65    - node --version
    6166    - npm install -g grunt-cli
    62     - gem install scss_lint
     67    - npm --version
    6368
    6469# before_script: Failures in this section will result in build status 'errored'
  • trunk/package.json

    r10624 r10703  
    2626    "matchdep": "~1.0.0"
    2727  },
     28  "engines": {
     29    "node": ">=4.2.1"
     30  },
    2831  "keywords": [
    2932    "activity",
Note: See TracChangeset for help on using the changeset viewer.