npm init

Create a package.json file. More information: https://docs.npmjs.com/cli/commands/npm-init.

npm init

npm init -y

npm init {{create-react-app}} {{my-app}}