Skip to content

Commit e4a7747

Browse files
author
Bartosz Dominiak
committed
Merge branch 'release/0.1.0-alpha.2'
2 parents 776d43a + f57b5ee commit e4a7747

29 files changed

+5255
-551
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
extends: [
3+
'plugin:vue/recommended'
4+
]
5+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
.DS_Store
33
dist/stats.json
4+
dist/vue-snap.js
45
storybook-static

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
before_install:
2+
- curl -o- -L https://yarnpkg.com/install.sh | bash
3+
- export PATH="$HOME/.yarn/bin:$PATH"
4+
cache:
5+
yarn: true
6+
directories:
7+
- "node_modules"
8+
language: node_js
9+
node_js:
10+
- 12
11+
install:
12+
- yarn install
13+
script:
14+
- yarn lint

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.1.0-alpha.2] - 2020-06-13
10+
### Added
11+
- initialize eslint #8
12+
- initilize git hooks (husky) #8
13+
- initialize VuePress #6
14+
- Storybook Addons (docs, a11y, actions, knobs, viewport, storysource) #2
15+
- props/slots preview #2
16+
- initilize travis #7
17+
918
## [0.1.0-alpha.1] - 2020-06-12
1019
### Added
1120
- Project init

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Bartosz Dominiak
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
[![npm version](https://badge.fury.io/js/vue-snap.svg)](https://badge.fury.io/js/vue-snap)
2+
[![Build Status](https://travis-ci.org/bartdominiak/vue-snap.svg?branch=develop)](https://travis-ci.org/bartdominiak/vue-snap)
3+
![npm bundle size](https://img.shields.io/bundlephobia/minzip/vue-snap)
4+
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/bartdominiak/vue-snap/blob/master/LICENSE.md)
5+
6+
<div align="center">
7+
<img width="256" heigth="256" src="/static/snap.jpg" alt="vue-snap logo">
8+
</div>
9+
110
# vue-snap
211
> Lightweight Slider/Carousel based on CSS Scroll Snap and Vue
312

config/storybook/main.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
module.exports = {
22
stories: ['../../src/**/*.stories.@(js|mdx)'],
3+
addons: [
4+
'@storybook/addon-a11y',
5+
'@storybook/addon-actions',
6+
'@storybook/addon-knobs',
7+
'@storybook/addon-viewport',
8+
'@storybook/addon-storysource',
9+
'@storybook/addon-docs'
10+
],
311
webpackFinal: async (config) => {
412
config.module.rules.push({
513
test: /\.scss$/,

deploy.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env sh
2+
3+
# abort on errors
4+
set -e
5+
6+
# build
7+
npm run docs:build
8+
9+
# navigate into the build output directory
10+
cd docs/.vuepress/dist
11+
12+
git init
13+
git add -A
14+
git commit -m 'deploy'
15+
16+
# if you are deploying to https://<USERNAME>.github.io/<REPO>
17+
git push -f [email protected]:bartdominiak/vue-snap.git master:gh-pages
18+
19+
cd -

dist/vue-snap.js

Lines changed: 0 additions & 290 deletions
This file was deleted.

dist/vue-snap.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)