GithubHelp home page GithubHelp logo

js-app-starter's Introduction

JS App Starter

Description

Front-end app boilerplate.

Technologies:

  • NPM (package manager)
  • Gulp (build system)
  • Browserify (module system)
  • Babel (ES6 transpiler)
  • jsHint (code quality tool)
  • Jade (template engine)
  • Stylus (css engine)
  • Autoprefixer (css prefixes)
  • Imagemin (images optimisation)
  • Spritesmith (sprites)
  • Git (vcs)
  • ++ gulp-plugins, a lot

Setup

Make sure you have npm:

npm -v

Install global modules:

npm install -g gulp browserify babel jade stylus http-server

Fork this repo:

git clone https://github.com/alexfedoseev/js-app-starter.git

Navigate to repo's root:

cd path/to/forked/repo

Install dependencies:

npm install

Usage

Start dev server on http://lvh.me:3500:

npm start

Or make a build for production:

npm run build

License

MIT.

js-app-starter's People

Contributors

alex35mil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-app-starter's Issues

sprite has no property .png error

After initial install and command npm start this issue appears:

0 info it worked if it ends with ok
1 verbose cli [ '/home/user/.nvm/versions/node/v0.12.0/bin/node',
1 verbose cli   '/home/user/.nvm/versions/node/v0.12.0/bin/npm',
1 verbose cli   'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `NODE_ENV=development http-server -a lvh.me -p 3500 & gulp`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/home/user/.nvm/versions/node/v0.12.0/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess.<anonymous> (/home/user/.nvm/versions/node/v0.12.0/lib/node_modules/npm/lib/utils/spawn.js:14:12)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1008:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
10 verbose pkgid [email protected]
11 verbose cwd /home/user/Repos/js-app-starter
12 error Linux 4.2.0-35-generic
13 error argv "/home/user/.nvm/versions/node/v0.12.0/bin/node" "/home/user/.nvm/versions/node/v0.12.0/bin/npm" "start"
14 error node v0.12.0
15 error npm  v2.5.1
16 error code ELIFECYCLE
17 error [email protected] start: `NODE_ENV=development http-server -a lvh.me -p 3500 & gulp`
17 error Exit status 1
18 error Failed at the [email protected] start script 'NODE_ENV=development http-server -a lvh.me -p 3500 & gulp'.
18 error This is most likely a problem with the js-app-starter package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     NODE_ENV=development http-server -a lvh.me -p 3500 & gulp
18 error You can get their info via:
18 error     npm owner ls js-app-starter
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.