From 899aabbc0ea7f1e969c18a752918c649d2e5d910 Mon Sep 17 00:00:00 2001 From: David Evans Date: Sun, 15 Apr 2018 12:53:11 +0100 Subject: [PATCH] Rename 'serve' action to 'start' for better npm compatibility --- docs/CONTRIBUTING.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index dfe347c..3bb9695 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -24,7 +24,7 @@ is easy to do: ```shell npm install; -npm run serve; +npm start; ``` The tests and linter will now be available at diff --git a/package.json b/package.json index 90f7e8e..d9a86c5 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ ], "main": "lib/sequence-diagram", "scripts": { - "serve": "node_modules/.bin/http-server", + "start": "node_modules/.bin/http-server", "minify": "node node_modules/.bin/r.js -o scripts/build.js && node_modules/.bin/uglifyjs --compress --mangle --warn --output lib/sequence-diagram.min.js -- lib/sequence-diagram.js" }, "devDependencies": {