New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

topsy

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

topsy

Front-end project generator

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

{ Topsy }

Front-end boilerplate (think v2 of headstart)

topsy

Requirements

  • NodeJS/NPM

Usage

Install

npm install -g topsy

Initialize project

topsy init -p new_project # topsy help for more options

Generator

cd new_project && topsy shock

Develop

cd _dev && gulp

Then visit http://localhost:7000 to see the example app running and ready for development.

Examples

Components

  • RequireJS
  • Zepto.js
  • Lodash.Underscore
  • Backbone
  • BrowserSync
  • React

Directory structure

  Topsy
  |____ topsy.json (Generator configs)
  |
  |____ _dev (Development Directory)
  |     |____ _src
  |     |     |____backend
  |     |     |____frontend
  |     |     |____test
  |     |     |____vendor
  |     .
  |     .
  |     |____ gulpfile.coffee
  |     |____ package.json
  |
  |____ _static (Deployable Project)
        |____ css
        |____ js
        |____ index.html

TODO

  • Consider Browser-Sync in place of Livereload
  • Better CLI control and options
  • Use better file copier for examples (to prevent entire project copies)
  • Join topsy and turvy

Copyright © 2014 Nicholas Hwang

FAQs

Package last updated on 20 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts