Skip to content

Commit

Permalink
Merge pull request #6 from ryanhefner/greenkeeper/initial
Browse files Browse the repository at this point in the history
Update dependencies to enable Greenkeeper 🌴
  • Loading branch information
ryanhefner committed Mar 15, 2018
2 parents 49c18d6 + 52dc4d7 commit 6939dcd
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Expand Up @@ -33,8 +33,13 @@ jobs:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: ./node_modules/.bin/greenkeeper-lockfile-update
- run: yarn build

# run tests!
- run: yarn test

# send code coverage info to coveralls
- run: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

- run: ./node_modules/.bin/greenkeeper-lockfile-upload
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -4,6 +4,7 @@
[![npm](https://img.shields.io/npm/l/express.svg)](LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/ryanhefner/clean-react-props/badge.svg?branch=master)](https://coveralls.io/github/ryanhefner/clean-react-props?branch=master)
[![CircleCI](https://circleci.com/gh/ryanhefner/clean-react-props.svg?style=shield)](https://circleci.com/gh/ryanhefner/clean-react-props)
[![Greenkeeper badge](https://badges.greenkeeper.io/ryanhefner/clean-react-props.svg)](https://greenkeeper.io/)

Utility functions for passing clean React props to HTML and SVG elements.

Expand Down
123 changes: 119 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -37,11 +37,12 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"coveralls": "^3.0.0",
"greenkeeper-lockfile": "^1.14.0",
"gzip-size": "^4.1.0",
"jest": "^22.4.2",
"pretty-bytes": "^4.0.2",
"regenerator-runtime": "^0.11.1",
"rollup": "^0.56.4",
"rollup": "^0.57.0",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^9.0.0",
"rollup-plugin-json": "^2.3.0",
Expand Down
4 changes: 2 additions & 2 deletions tools/build.js
Expand Up @@ -12,13 +12,13 @@ const exec = (command, extraEnv) => {

console.log('Building CommonJS modules ...');

exec('babel src -d . --ignore __tests__', {
exec('babel src -d . --ignore __tests__,*.test.js', {
BABEL_ENV: 'cjs'
});

console.log('\nBuilding ES modules ...');

exec('babel src -d es --ignore __tests__', {
exec('babel src -d es --ignore __tests__,*.test.js', {
BABEL_ENV: 'es'
});

Expand Down

0 comments on commit 6939dcd

Please sign in to comment.