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

cool-static-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cool-static-cli

Auto webpack4 + jquery + scss + pjax for multipage static websites

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

cool-static-cli(webpack4 + jquery + scss + pjax for multipage static websites)

  • HTML (lodash template)
  • Modern JavaScript
  • Jquery + pjax No Refresh loading auto refresh to another page
  • SCSS
  • PostCSS

Start

npm i cool-static-cli -g

Init

mkdir project && cd project cool-static-cli init npm i

Development

npm run dev

Build

npm run build

SVG Sprites

  • Put svg files in src/img/svg
  • In HTML, use <svg><use xlink:href="#svg-file-name"></use></svg>

##Dir

.
+-- dist(Publish directory)
|
+-- src(Development Directory)
|   +-- favicon
|   +-- fonts
|   +-- html
|   |   +-- include
|   |   |   +-- header.html
|   |   |   +-- footer.html
|   |   +-- views
|   |   |   +-- index.html
|   +-- img
|   +-- js
|   |   +-- package
|   |   +-- page
|   |   +-- index.js
|   |   +-- main.js
|   +-- media
|   +-- scss
+-- webpack.config.js
+-- postcss.config.js
+-- package.json

Keywords

cool-static-cli

FAQs

Package last updated on 18 Dec 2018

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