Skip to content

Commit 8e699a0

Browse files
committed
build
0 parents  commit 8e699a0

27 files changed

+7835
-0
lines changed

.gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
yarn.lock
2+
# Logs
3+
logs
4+
*.log
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18+
.grunt
19+
20+
# node-waf configuration
21+
.lock-wscript
22+
23+
# Compiled binary addons (http://nodejs.org/api/addons.html)
24+
build/Release
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules
29+
30+
.idea

.npmignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
yarn.lock
2+
# Logs
3+
logs
4+
*.log
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18+
.grunt
19+
20+
# node-waf configuration
21+
.lock-wscript
22+
23+
# Compiled binary addons (http://nodejs.org/api/addons.html)
24+
build/Release
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules
29+
30+
.idea

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Zippy Technologies
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.
22+

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# react-virtual-scroller2
2+
> A virtual scroller container for React
3+
4+
### I am continuing development since github.com/zippyui was deleted

build-style.config.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
'use strict';
2+
3+
var ExtractTextPlugin = require('extract-text-webpack-plugin')
4+
5+
module.exports = {
6+
entry: {
7+
'index': './index.styl'
8+
},
9+
output: {
10+
filename: 'index.css'
11+
},
12+
module: {
13+
loaders: [
14+
{
15+
test: /\.styl$/,
16+
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!autoprefixer!stylus-loader')
17+
}
18+
]
19+
},
20+
plugins: [
21+
new ExtractTextPlugin('[name].css')
22+
]
23+
}

dist.config.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
var webpack = require('webpack')
2+
3+
module.exports = {
4+
entry: './src/index.jsx',
5+
output: {
6+
path : __dirname + '/dist',
7+
libraryTarget: 'umd',
8+
library : 'Scroller',
9+
filename : 'react-virtual-scroller.js'
10+
},
11+
module: {
12+
loaders: require('./loaders.config')
13+
},
14+
externals: {
15+
'react': 'React'
16+
},
17+
resolve: {
18+
// Allow to omit extensions when requiring these files
19+
extensions: ['', '.js', '.jsx']
20+
},
21+
target: 'web',
22+
process: false
23+
}

dist.min.config.js

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
var webpack = require('webpack')
2+
3+
module.exports = {
4+
entry: './src/index.jsx',
5+
output: {
6+
path : __dirname + '/dist',
7+
libraryTarget: 'umd',
8+
library : 'Scroller',
9+
filename : 'react-virtual-scroller.min.js'
10+
},
11+
module: {
12+
loaders: require('./loaders.config')
13+
},
14+
externals: {
15+
'react': 'React'
16+
},
17+
resolve: {
18+
// Allow to omit extensions when requiring these files
19+
extensions: ['', '.js', '.jsx']
20+
}
21+
}

0 commit comments

Comments
 (0)