Closed EthanLin-TWer closed 7 years ago
npm init
npm install -g yarn
yarn.lock
npm test
node_modules
.gitignore
Pitfall: use yarn to install dependencies every time after yarn.lock is introduced instead of using npm. Otherwise dependencies can't get resolved correctly by travis calling yarn
npm init
npm install -g yarn
yarn.lock
filenpm test
in travis script sectionnode_modules
to.gitignore
filePitfall: use yarn to install dependencies every time after yarn.lock is introduced instead of using npm. Otherwise dependencies can't get resolved correctly by travis calling yarn