1.12.0 • Published 7 years ago

web-static-cmd v1.12.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

web-static-cmd

A command line tool which starts a static server for testing front-end web page

You should install it globally

npm i web-static-cmd -g
cd [your project dist/public dir]
sss -s

then a static server starts on http://localhost:8088

optional arguments

You can use -p to set a proxy for your webapp

for example:

sss -s -p //api http://www.example.com

You can use -h to get help

sss -h

Also, you can set pathRewrite option by inputing another 2 arguments after -p,like this:

sss -s -p //api http://www.example.com //api //
1.12.0

7 years ago

1.11.0

7 years ago

1.10.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago