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 webpackyarn testyarn test:integrationor in watch mode
yarn test:integration --watchyarn test:unitor in watch mode
yarn test:unit --watchyarn test:update-snapshotsyarn benchmarkyarn fmtThis performs linting on:
- eslint (lint:code script)
- dependencies (lint:yarn script)
- types (lint:types script)
- schema + format + generated files (lint:special script)
yarn lintyarn type-lintor incremental (in watch mode)
yarn type-lint --watchyarn build:examplescd examples/<path to example>
node build.js