- Node.js 8.0+
- Npm 5.0+
NOTE: we recommend using nvm
brew install nvm
nvm install 8.11
nvm use 8.11git clone https://github.com/serverless/components.git
cd components
npm installYou can export the USE_ESNEXT environment variable if you're using a Node.js version >=8 and want to work on the project without building / watching it.
To build the project
npm run buildTo automatically re-build the project when files change
npm run watchTo wipe out all installed modules as well as package-lock.json files, use the cleanse script.
To cleanse the project
npm run cleanseRun tests for the project
npm testRun lint for the project
npm run lint