_SETUP.md
At webpack we use yarn to execute commands.
If you already have yarn installed, do: yarn setup. This will complete all required steps.
If not, do: npm run setup, the setup will also install yarn for you.
That's all.
git clone https://github.com/webpack/webpack.git
cd webpack
npm install -g yarn
yarn
yarn link
yarn link webpack
yarn test
yarn test:integration
or in watch mode
yarn test:integration --watch
yarn test:unit
or in watch mode
yarn test:unit --watch
yarn test:update-snapshots
yarn benchmark
yarn fmt
This performs linting on:
yarn lint
yarn lint:types
or incremental (in watch mode)
yarn lint:types --watch
yarn build:examples
cd examples/<path to example>
node build.js