From d34e36831c16f85aee2041a2af8588ae64b9c625 Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Fri, 22 Dec 2017 00:35:20 +0100 Subject: [PATCH] prepare -> prepublish --- README.md | 2 +- docs/src/guide/index.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e07a4a3995..da942a50a8 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ and [`gulp`](http://gulpjs.com/). To build Open MCT for deployment: -`npm run prepublish` +`npm run prepare` This will compile and minify JavaScript sources, as well as copy over assets. The contents of the `dist` folder will contain a runnable Open MCT diff --git a/docs/src/guide/index.md b/docs/src/guide/index.md index 7bc8930105..00fcae35b7 100644 --- a/docs/src/guide/index.md +++ b/docs/src/guide/index.md @@ -2283,7 +2283,7 @@ To install build dependencies (only needs to be run once): To build: -`npm run prepublish` +`npm run prepare` This will compile and minify JavaScript sources, as well as copy over assets. The contents of the `dist` folder will contain a runnable Open MCT diff --git a/package.json b/package.json index c577073ca5..9ce6569074 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "jsdoc": "jsdoc -c jsdoc.json -R API.md -r -d dist/docs/api", "otherdoc": "node docs/gendocs.js --in docs/src --out dist/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'", "docs": "npm run jsdoc ; npm run otherdoc", - "prepublish": "node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install" + "prepare": "node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install" }, "repository": { "type": "git",