Local Server for js-primer.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
test
.gitignore
.travis.yml
LICENSE
README.md
package.json
tsconfig.json
yarn.lock

README.md

@js-primer/local-server

Local Server for js-primer.

Requirements

  • Node.js 8.2 >=
    • It contains npm 5.3.0>=
    • It contains npx command

Usage

npxコマンドを使い直接ダウンロードと実行ができます。

Usage
  $ npx @js-primer/local-server [<directory>]

Options:
  --port  TCP port at which the files will be served

サーバを起動する(ベースディレクトリは現在ディレクトリ)

npx @js-primer/local-server

指定したディレクトリをベースにサーバを起動する

npx @js-primer/local-server ./docs

Usage for old Node.js

NOde.js 8.2未満の場合はnpmでインストールし利用できます。

npm install local-server --global
$ js-primer-local-server

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu