labshub
v0.7.5
Published
A static site generator to create an Hub to organizing a set of NPM packages by keywords
Downloads
6
Maintainers
Readme
LabsHub
A static site generator for create an Hub to organizing a set of NPM packages by keywords
LabsHub generate automatically a nice and simple user interface that shows projects including their name, description and allows you to search through the keywords defined in each package.json files.
Usage
Copy or linking projects directories inside root path
cp -r /var/www/my-npm-projects/* ./
LabsHub allows you to centrally manage all of npm projects(contains package.json file) deployed in your website through a single configuration file(labshub.json). Edit labshub.json adding details about npm packages inside the root directory.
{
"pages": {
"index.tmpl.html": "index.html",
"maps.tmpl.html": "maps/index.html"
},
"pageOut": "index.html",
"pageTmpl": "index.tmpl.html",
"packagesIgnore": [
"**/node_modules/**",
"hidden-project"
],
"packages": {
"package-dir-name": {
"name": "package name override package.json name",
"keywords": ["bootstrap","jquery","css3"],
"rank": 2
},
...
generate index.html
npm i
npm run build