File tree Expand file tree Collapse file tree 3 files changed +17
-14
lines changed
Expand file tree Collapse file tree 3 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,15 @@ node_js:
99before_install :
1010 - npm install -g npm@5
1111 - npm install -g greenkeeper-lockfile@1
12- before_script : greenkeeper-lockfile-update
13- after_script : greenkeeper-lockfile-upload
14- script :
15- - npm run lint
16- - npm run test
17- - npm run build
18- after_success :
19- - npm run travis-deploy-once "npm run semantic-release"
20- - npm run codecov
21- - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run deploy-storybook-ci; fi
22- branches :
23- except :
24- - /^v\d+\.\d+\.\d+$/
12+ jobs :
13+ include :
14+ - stage : test
15+ script :
16+ - npm run lint
17+ - npm run test
18+ - npm run build
19+ before_script : greenkeeper-lockfile-update
20+ after_script : greenkeeper-lockfile-upload
21+ - stage : deploy
22+ if : branch = master
23+ script : npm run travis-deploy-once "npm run semantic-release"
Original file line number Diff line number Diff line change 11# example-rollup-react-component-npm-package
22
3+ [ ![ Build Status] ( https://travis-ci.org/jaebradley/example-rollup-react-component-npm-package.svg?branch=master )] ( https://travis-ci.org/jaebradley/example-rollup-react-component-npm-package )
4+ [ ![ npm] ( https://img.shields.io/npm/dt/@jaebradley/example-rollup-react-component-npm-package.svg )] ( https://www.npmjs.com/package/@jaebradley/example-rollup-react-component-npm-package )
5+ [ ![ npm] ( https://img.shields.io/npm/v/@jaebradley/example-rollup-react-component-npm-package.svg )] ( https://www.npmjs.com/package/@jaebradley/example-rollup-react-component-npm-package )
6+
37Example ` React ` component "library" using [ ` rollup ` ] ( https://github.com/rollup/rollup ) that is published to ` npm ` .
48
59## ` rollup ` and ` webpack `
Original file line number Diff line number Diff line change 11{
22 "name" : " @jaebradley/example-rollup-react-component-npm-package" ,
33 "version" : " 0.0.0-development" ,
4- "description" : " Example React Component for npm Publication" ,
4+ "description" : " Example React Component for npm Publication using Rollup " ,
55 "main" : " ./build/index.js" ,
66 "module" : " ./build/index.es.js" ,
77 "files" : [
You can’t perform that action at this time.
0 commit comments