0.3.2 • Published 10 years ago

react-infinite-scroll-seed v0.3.2

Weekly downloads
56
License
-
Repository
-
Last release
10 years ago

##Motivation

I am a big fan of gulp and sadly I did not found any gulp webpack seed project, so I made one. This seed based on React Infinite Scroll component

##Install

clone this repo

npm i

##Some Webpack livereload magic Just run

gulp

to use Webpack dev server. You can play with source code and it will be livereloaded on change.

##Usual build

gulp build-all

You can also build prod and dev separately.

gulp build-prod
gulp build-dev

Check dist folder for index.html after build.

##TODO

  • fix issue
  • move from gulp-clean to gulp rimraf
  • fix web dev server configuration ( path: "/" not path: "./dist/dev/scripts", but need both)
  • support generation of amd dist assets

##Some considerations Firstly, my plan was to split distrs and source project. But this introduce a lot of problems and complexity, which require solvation before we can actually use npm to start reuse and manage packages. Screw that (at least for now). All I need to start use npm is version bump -> publish task for sourse project, and define path in main property of package.json

{
  "name": "myexposedmodulename",
  "main": "src/scripts/myexposedmodulename.jsx",
  ...

After that our package is can be required by webpack

0.3.2

10 years ago

0.3.0

10 years ago

0.1.0

10 years ago

0.0.37

10 years ago

0.0.36

10 years ago

0.0.35

10 years ago

0.0.34

10 years ago

0.0.32

10 years ago

0.0.7

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago