Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #928 from maludwig/master
Browse files Browse the repository at this point in the history
Added yarn support, switched to prepublishOnly
  • Loading branch information
davidkpiano committed Sep 1, 2017
2 parents 06787d3 + 4981227 commit 2183bf1
Show file tree
Hide file tree
Showing 3 changed files with 4,400 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,22 @@ language: node_js
node_js:
- "4.0"
- "4"
- "7"
- "stable"

# before_install:
# - npm config set ignore-scripts true

script:
- npm test
- yarn test
- yarn run lint
- yarn run build
- yarn run tsdef

cache: yarn
# cache:
# directories:
# - node_modules

branches:
except:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build:lib": "babel src --out-dir lib",
"analyze": "webpack src/index.js dist/index.js --config webpack.config.prod.js --json > stats.json",
"preversion": "npm run test && npm run lint",
"prepublish": "npm test && npm run lint && npm run build && npm run tsdef",
"prepublishOnly": "npm test && npm run lint && npm run build && npm run tsdef",
"postversion": "git push && git push --tags",
"publish:beta": "npm publish --tag beta",
"tsdef": "cp -f immutable.d.ts lib/",
Expand Down

0 comments on commit 2183bf1

Please sign in to comment.