add yarn lock info to contributing.md (#4679)

This commit is contained in:
timifasubaa 2018-03-23 15:31:47 -07:00 committed by John Bodley
parent 76394d3f8f
commit 00cab7e107
1 changed files with 4 additions and 0 deletions

View File

@ -259,6 +259,10 @@ superset runserver -d -p 8081
npm run dev
```
#### Upgrading npm packages
Should you add or upgrade a npm package, which involves changing `package.json`, you'll need to re-run `yarn install` and push the newly generated `yarn.lock` file so we get the reproducible build. More information at (https://yarnpkg.com/blog/2016/11/24/lockfiles-for-all/)
## Testing
Before running python unit tests, please setup local testing environment: