Rename 'serve' action to 'start' for better npm compatibility
This commit is contained in:
parent
a5f32d34d8
commit
899aabbc0e
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue