Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 967 Bytes

README.md

File metadata and controls

57 lines (40 loc) · 967 Bytes

TaskRunner for npm-scripts

Structure

[root] project root
  |-[src] src dir
  |  |-[scripts]   js files
  |  |-[templates] pug files
  |  |-[styles]    stylus(styl) files
  |  |-[statics]   static files
  |  |-[images]    image(jpg,png,gif,svg) files
  |-[dist] dist dir
  |-...config files
  |-README.md

ignore _*.* files.

How to use

# Git Clone && CD
git clone https://github.com/ysknk/npms-starter-kit.git _app && cd _app

# Init Install
npm i

# Wake up Local Server(default=>localhost:3000)
npm run dev

# All Build
npm run build

Storybook

@storybook/html from npx storybook init --type html

Base Compiler/Transpiler

templates(pug)

https://github.com/pugjs/pug-cli

styles

stylus + nib

https://github.com/stylus/stylus
https://github.com/stylus/nib

scripts(webpack)

https://github.com/webpack/webpack

images(min)

https://github.com/imagemin/imagemin
* default jpg,png -> webp