Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

sm.hoist.visualcomponents

0.1.5 • Public • Published

sm.hoist.VisualComponents

Install

package.json

"scripts": {
    "build": "sm.hoist.visualcomponents sm.hoist.VisualComponents.json --build",
    "build-show": "sm.hoist.visualcomponents sm.hoist.VisualComponents.json --spin"
  },
  "dependencies": {
    "sm.hoist.visualcomponents": "0.1.x"
  }
}

sm.hoist.VisualComponents.json

{
    "config": {
        "sm.hoist.visualcomponents/0": {
        	"viewer": {
        		"port": 8082
    		},
        	"source": {
        		"server": {
        			"cwd": "{{__DIRNAME__}}",
        			"runInterpreter": "node",
        			"run": "{{__DIRNAME__}}/node_modules/.bin/gulp",
        			"host": "localhost:8083",
        			"wait": "2",
        			"env": {
        				"PORT": 8083
        			}
        		}
        	},
        	"pages": {
        		"Home": {
        			"source": "/"
    			}
        	},
        	"target": {
        		"path": "{{__DIRNAME__}}/.sm.hoisted"
        	}
        }
    }
}

Run

npm run-script build
npm run-script build-how

Troubleshoot

export DEBUG=1
export VERBOSE=1

pm2 logs --lines 500 | grep 'sm.hoist'

Keywords

none

install

npm i sm.hoist.visualcomponents

Downloadsweekly downloads

3

version

0.1.5

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability