Skip to content

Commit 8816791

Browse files
committed
Move from Rollup to Vue-CLI, refactor and cleanup.
1 parent 55f9f8c commit 8816791

File tree

84 files changed

+11841
-28252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+11841
-28252
lines changed

.babelrc

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

.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

.eslintrc.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
9+
],
10+
rules: {
11+
'brace-style': [2, 'stroustrup', { 'allowSingleLine': true }],
12+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
14+
},
15+
parserOptions: {
16+
parser: 'babel-eslint'
17+
}
18+
}

.gitignore

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
node_modules/
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw*

.npmignore

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

LICENSE

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

README.md

Lines changed: 11 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,16 @@
1-
# Vueper Slides
2-
3-
[![Latest Version on NPM](https://img.shields.io/npm/v/vueperslides.svg?style=flat-square)](https://npmjs.com/package/vueperslides)
4-
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
5-
[![npm](https://img.shields.io/npm/dt/vueperslides.svg?style=flat-square)](https://www.npmjs.com/package/vueperslides)
6-
7-
> A touch ready and responsive slideshow / carousel for Vue JS.
8-
9-
## Installation
1+
# vs
102

3+
## Project setup
114
```
12-
npm install vueperslides --save-dev
5+
npm install
136
```
147

15-
## Demo & Documentation
16-
> [https://antoniandre.github.io/vueper-slides](https://antoniandre.github.io/vueper-slides)
17-
18-
## Try it yourself
19-
> [https://codepen.io/antoniandre/pen/jevjoQ](https://codepen.io/antoniandre/pen/jevjoQ)
20-
21-
## Browser Support
22-
![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |
23-
--- | --- | --- | --- | --- | --- |
24-
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 10+ ✔ |
25-
26-
27-
___
28-
29-
30-
## Release Notes
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
3112

32-
- __Version 1.15.0__ Add 3D Rotation feature
33-
- __Version 1.14.0__ Allow fade transition with multiple items per slide
34-
- __Version 1.13.0__ Allow multiple items per slide
35-
- __Version 1.12.0__ Add a 'no-shadow' class to remove default inner shadow
36-
- __Version 1.11.0__ Allow slide background inside slide container
37-
- __Version 1.10.0__ Allow fixed height
38-
- __Version 1.9.4__ Add a method to refresh parallax
39-
- __Version 1.9.1__ Add onload parallax translation calculation
40-
- __Version 1.9.0__ Add previous() & next() methods for external controls
41-
- __Version 1.8.0__ Add animated class while slideshow is animated
42-
- __Version 1.7.0__ Improve slide data reactivity & allow to refresh clones on drag
43-
- __Version 1.6.0__ Externalize CSS & add accessibility attributes
44-
- __Version 1.5.0__ Add transition speed param & slide content outside above or under slideshow
45-
- __Version 1.4.0__ Allow complex slide title & content
46-
- __Version 1.3.2__ Add option to place arrows outside. The config is now VueJS-reactive
47-
- __Version 1.3.0__ Add parallax feature
48-
- __Version 1.2.0__ Add dragging distance feature
49-
- __Version 1.1.0__ Add breakpoints feature
50-
- __Version 1.0.0__ First public release
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```

babel.config.js

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

build.js

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

0 commit comments

Comments
 (0)