Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 2 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,14 @@
# Logs
logs

*.log
*.lock
!yarn.lock
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

.vscode/settings.json
gh-pages
dist
packages/*/dist
.idea
28 changes: 7 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ before_script:
- yarn compile
- yarn test
script:
- yarn sass
- mkdir gh-pages
- yarn example:github
- yarn example:pokemon
- yarn example:shopify
- yarn example:starwars-js
- yarn example:starwars
- yarn example
jobs:
include:
- stage: coveralls publish
Expand All @@ -34,30 +28,22 @@ jobs:
- stage: npm release
if: tag IS present AND type != pull_request
node_js: '11'
script: echo "Deploying to npm ..."
before_deploy:
before_script:
- echo "Deploying to npm ..."
- yarn beforedeploy
- cd dist
deploy:
provider: npm
email: "$NPM_EMAIL"
api_key: "$NPM_API_KEY"
skip_cleanup: true
on:
tags: true
script:
- yarn publish
- stage: gitHub Pages
if: tag IS present AND type != pull_request
node_js: '11'
script:
- echo "Deploying to GitHub Pages ..."
- yarn example:github
- yarn example:pokemon
- yarn example:shopify
- yarn example:starwars
- yarn example
deploy:
provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
local-dir: gh-pages
on:
tags: true
Loading