Skip to content

Commit ba9e44a

Browse files
authored
Merge pull request #4 from jaebradley/fix-build
fix(build): update build
2 parents b89d186 + cdd1780 commit ba9e44a

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.travis.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ node_js:
99
before_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"

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
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+
37
Example `React` component "library" using [`rollup`](https://github.com/rollup/rollup) that is published to `npm`.
48

59
## `rollup` and `webpack`

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": [

0 commit comments

Comments
 (0)