add docs back to npm run all

This commit is contained in:
Brian Mann
2017-05-17 17:55:09 -04:00
parent ccc739f275
commit 1cc20ff5b4
+3
View File
@@ -17,8 +17,11 @@ const packageNameFromPath = (fullPath) => {
.replace('packages/', '')
}
const nonPackageDirs = ['docs/']
const getDirs = () => {
return globAsync('packages/*/')
.then((dirs) => dirs.concat(nonPackageDirs))
.map((dir) => path.join(process.cwd(), dir).replace(/\/$/, ''))
}