Skip to content

Commit

Permalink
Merge pull request #1670 from Andarist/enhancement/as-git-dep
Browse files Browse the repository at this point in the history
Tweaked install/publish related scripts - enabled installing as dep d…
  • Loading branch information
lukastaegert committed Oct 8, 2017
2 parents 5e16429 + 59d801d commit 63d9ef6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -8,4 +8,6 @@ env:
global:
- BUILD_TIMEOUT=10000
install: npm install
before_install:
- if [[ $TRAVIS_NODE_VERSION -lt 7 ]]; then npm install --global npm@4; fi
# script: npm run ci
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -16,6 +16,7 @@ environment:

install:
- ps: Install-Product node $env:nodejs_version
- IF %nodejs_version% LSS 7 npm -g install npm@4
- npm install

build: off
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -10,7 +10,8 @@
},
"scripts": {
"pretest": "npm run build",
"test": "mocha",
"test": "npm run test:only",
"test:only": "mocha",
"test:leak": "node --expose-gc test/leak/index.js",
"test:quick": "rollup -c && mocha",
"pretest-coverage": "npm run build",
Expand All @@ -19,7 +20,8 @@
"ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov",
"build": "git rev-parse HEAD > .commithash && rollup -c && chmod a+x bin/rollup",
"watch": "rollup -cw",
"prepublish": "npm run lint && npm test && npm run test:leak",
"prepublishOnly": "npm run lint && npm run test:only && npm run test:leak",
"prepare": "npm run build",
"lint": "eslint src browser test/test.js test/*/index.js test/utils test/**/_config.js"
},
"repository": "rollup/rollup",
Expand Down

0 comments on commit 63d9ef6

Please sign in to comment.