Skip to content

Commit

Permalink
Switch to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Bieker committed Oct 27, 2016
1 parent 2f4d70d commit ef779e4
Show file tree
Hide file tree
Showing 4 changed files with 5,893 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist
docs/build
lib
coverage
yarn-error.log

# Exclude IDE project folders
*.sublime-project
Expand Down
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ language: node_js
cache:
bundler: true
directories:
- node_modules
- $HOME/.yarn-cache
node_js:
- '6'
install:
- npm install -g yarn
- yarn install --pure-lockfile
script:
- yarn test
after_success:
- bash deploy_docs.sh
deploy:
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"test": "jest",
"test-watch": "jest --watchAll",
"lint": "eslint src docs",
"build": "npm run build:babel && npm run build:copy-files",
"build": "yarn run build:babel && yarn run build:copy-files",
"build:babel": "babel ./src --ignore *.spec.js --out-dir ./dist",
"build:copy-files": "cp ./README.md ./dist/",
"build:docs": "rm -rf ./docs/build; webpack --config ./docs/webpack.prod.config",
"prebuild": "rm -rf ./dist",
"prepublish": "npm run prebuild; npm run build",
"pretest": "npm run lint"
"prepublish": "yarn run prebuild; yarn run build",
"pretest": "yarn run lint"
},
"contributors": [
"Konstantin Krauss <konstantin@propertybase.com> (http://www.propertybase.com)",
Expand All @@ -45,6 +45,7 @@
},
"dependencies": {
"classnames": "^2.2.5",
"eslint": "3.7.1",
"lodash.debounce": "^4.0.8",
"lodash.isstring": "^4.0.1",
"lodash.omit": "^4.5.0",
Expand Down

0 comments on commit ef779e4

Please sign in to comment.