lxdhub
v1.2.5 lxd lxc lxdhub container
start
npm run start:api
lint:api
tslint -c tslint.json 'src/api/*.ts'
lint:db
tslint -c tslint.json 'src/db/*.ts'
lint:common
tslint -c tslint.json 'src/common/*.ts'
lint:dbsync
tslint -c tslint.json 'src/dbsync/*.ts'
lint
npm run lint:api && npm run lint:db && npm run lint:dbsync && npm run lint:common
start:api
node bin/start-api.js
start:dbsync
node bin/start-dbsync.js
build
node node_modules/gulp/bin/gulp.js build
build:lib
node node_modules/gulp/bin/gulp.js build --dist lib
postinstall
postinstall-build node_modules/@lxdhub
docs
node bin/generate-graphs.js && tsviz src/db/models/ lib/db/docs/assets/graphs/db-schema.png
test
jest --config=jest.json -i
test:watch
jest --watch --config=jest.json -i
test:dev
jest --watch --config=jest.json -i --coverage --coverageDirectory=coverage
test:coverage
jest --config=jest.json -i --coverage --coverageDirectory=coverage
dev:api
node node_modules/gulp/bin/gulp.js api:serve --script bin/start-api.js
dev:dbsync
node node_modules/gulp/bin/gulp.js dbsync:serve --script bin/start-dbsync.js