Skip to content

Commit

Permalink
fix(build): fix the travis-ci build to deploy with assets (#39)
Browse files Browse the repository at this point in the history
* update to only include `files` in the package
  • Loading branch information
jcreamer898 authored and jonathancreamer-eb committed Jul 5, 2018
1 parent f315aef commit 68a794b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
21 changes: 0 additions & 21 deletions .npmignore

This file was deleted.

8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ node_js:
- "6"

# Run the the validate script
script: yarn run validate

# We of course run a build first to generate the build targets
before_deploy: yarn run build
script:
- yarn run validate
- yarn run build

# Using semantic-release, deploy a new version of the library
# We're running multiple node jobs so running on latest Node
# version
deploy:
skip_cleanup: true
provider: script
script: npx semantic-release
on:
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"jsnext:main": "lib/esm/index.js",
"browser": "dist/eventbrite.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"keywords": [
"rest",
"api",
Expand Down

0 comments on commit 68a794b

Please sign in to comment.