1.6.8 • Published 6 years ago

tf-tailor v1.6.8

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago
 ______                    ____           ____
/_  __/__  __ _________   / __/__  ____  / __/_ _____
 / / / _ \/ // / __(_-<  / _// _ \/ __/ / _// // / _ \
/_/  \___/\___/_/ /___/ /_/  \___/_/   /_/  \___/_//_/

Tailor for ToursForFun Frontend

Instructions

Based on webpack@3.x

  • HTML - x Multi pages support

  • Style - x Less to css - x CSS sprite

  • DevTool - x Source Map - x Hot reload middleware

  • ES6 spport - x babel-preset-env - x babel-preset-stage-2

  • Lint - x ES Lint - x Sty leLint - x HTML Lint - Pre push

  • Advanced - x ES6 Support - x VUE Supported - Mock Server - x Parallel - TODO MORE...

Geting Started

  • Install tailor global

npm install -g tf-tailor
  • Run tailor

tailor -e test
  • Options

    	- **e**: environment,`dev`、`test`、`prod`,default `dev`
    	- **c**: config, json config in CLI,will rewrite the default config
    	- **f**: config file
    	- **r**: regexp for modules which are compiled
    	- **p**: parallel,multiple threads support
  • Env config

    	- tailor.config.json
    	- json config in CLI,config will rewrite the config file
    
    	```
    	CLI JSON config > file config > tailor.config.json
    	```
  • example

    	```
    	tailor -e dev  (default)
    	tailor -e test -f custom.env.json
    	tailor -e test -c {output:{path:'custom-dest'},input:{path:'custom-src'}}
    	tailor -r product
    	tailor -p parallel
    	```
1.6.8

6 years ago

1.6.7

6 years ago

1.6.6

6 years ago

1.6.5

6 years ago

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.1

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago