Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

build-future-simple-template

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-future-simple-template

Simple Template contains a simple file hierarchy to build a front end project, which includes css, sass, js,html,imgs,font and engined by express,hope you like it! -- @BuildFuture

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

SimpleTemplate@BuildFuture

a Simple Project Template integrated with sass,grunt,bower and a static server with 'npm connect'

SimpleTemplate@BuildFuture offers a simple grunt-cored auto workflow project, which listens source file changes and lively update .

Hierarchy of Projects

--bower_components     // bower libraries
--dest                 // runtime directory, which is generated and maintained by grunt
    --[.tmp]                                           # temp compile file
    --css                                              # project css folder
    --font                                             # project level font folder
    --html                                             # html subpages 
    --imgs                                             # images ,icons,svgs
    --js                                               # project js folder
    --lib                                              # libraries from external, as zepto,jQuery,Bootstrap 
    --index.html                                       # main html page
--node_modules         // node components
--src                  // source codes, where put your source codes
    --font                                             # font sources 
    --html                                             # html pages 
    --imgs                                             # image type assets
    --js                                               # js sources
    --lib                                              # external / third-party libs 
    --sass                                             # sass folders 
    --index.html                                       # main page 
--.jshintrc            // jshint config
--bower.json           // bower config, preset bower dependencies
--Gruntfile.js         // grunt config file
--package.json         // package meta
--Readme.md            // readme file
--start.bat            // starter under windows / xp
--start.sh             // starter under unix* / linux*

Automating Process

1. copy multiple sources to dest directory , from sources codes , bower_components and other libs , which is configured in grunt
2. compile from sass / scss to css
3. concat all .css files into a combine file all.css, concat all .js files into a combined file all.js; (library not included)
4. unglify all.js to all.min.js, cssmin all.css to all.min.css
5. minify html files

@BuildFuture aims to make it better,more effective, easier to build projects.

Keywords

FAQs

Package last updated on 13 Jun 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc