mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +00:00
[Build] Trigger gulp from prepublish
This commit is contained in:
parent
25a7df7885
commit
924a4026ff
@ -114,6 +114,8 @@ gulp.task('static', function () {
|
|||||||
.pipe(gulp.dest(paths.dist));
|
.pipe(gulp.dest(paths.dist));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('install', [ 'static', 'scripts', 'stylesheets' ]);
|
gulp.task('install', [ 'static', 'scripts' ]);
|
||||||
|
|
||||||
gulp.task('verify', [ 'lint', 'test' ]);
|
gulp.task('verify', [ 'lint', 'test' ]);
|
||||||
|
|
||||||
|
gulp.task('build', [ 'verify', 'install' ]);
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
"jsdoc": "jsdoc -c jsdoc.json -r -d target/docs/api",
|
"jsdoc": "jsdoc -c jsdoc.json -r -d target/docs/api",
|
||||||
"otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
|
"otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",
|
||||||
"docs": "npm run jsdoc ; npm run otherdoc",
|
"docs": "npm run jsdoc ; npm run otherdoc",
|
||||||
"postinstall": "./node_modules/bower/bin/bower install"
|
"postinstall": "./node_modules/bower/bin/bower install",
|
||||||
|
"prepublish": "./node_modules/gulp/bin/gulp.js build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user