この書籍ではJavaScriptについて扱う感じの内容になっています。
npm install
Build
GitBookのbuildをします
npm run build
Watch
GitBookのbuildかつWatchをします。 プレビューをする場合は、ローカルサーバがたつこちらの方を推奨。
npm run watch
Test
- GitBookのビルドテスト
- textlintによる文章のLint
- ESLintによるコードのLint
- ESLintによるMarkdown中のインラインコードのLint
- Mochaによる
-test.js
ファイルのテスト実行
は以下のコマンドで行えます。
npm test
詳しくは CONTRIBUTING.md を見てください。
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
No define