開発モードでアプリを実行します。
http://localhost:3000 を開くと、ブラウザで表示されます。
変更するとページが再読み込みされます。
また、コンソールに lint エラーが表示される場合があります。
npm start
テストランナーを対話型ウォッチモードで起動します。
詳しくは、テストの実行の項を参照してください。
npm test
npm run build
本番用アプリを build
フォルダにビルドします。
詳細は、deploymentのセクションを参照してください。
storybook を起動します。
npm run storybook
npm run eject
注意:これは一方的な操作です。一度 eject
したら、もう戻れません!。
もし、ビルドツールや設定の選択に満足できない場合は、いつでも eject
することができます。このコマンドを実行すると、ビルドの依存関係が 1 つだけプロジェクトから取り除かれます。
その代わり、すべての設定ファイルと依存関係(webpack, Babel, ESLint など)をプロジェクトにコピーするので、それらを完全に制御することができます。eject` 以外のコマンドはまだ動作しますが、コピーされたスクリプトを指すので、それらを調整することができます。この時点で、あなたは自分自身で行動することになります。
eject` を使う必要はありません。キュレーションされた機能セットは小規模から中規模のデプロイメントに適しており、この機能を使うことを義務に感じるべきではありません。しかし、もしあなたがその気になったときにカスタマイズできないのであれば、このツールは有用ではないことを私たちは理解しています。
Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started)で詳しく解説しています。
React を学ぶには、React documentationを参照してください。
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/code-splitting
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/advanced-configuration
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/deployment
このセクションはこちらに移動しました。https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify