feat: nodemon run example

This commit is contained in:
curd 2020-10-30 14:36:42 +03:00
parent 05e46faf4f
commit 71ab42d5be
3 changed files with 6 additions and 5 deletions

View File

@ -2,9 +2,9 @@
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v0.7.0](https://github.com/cudr/slate-collaborative/compare/v0.7.0...v0.7.0)
#### [v0.7.1](https://github.com/cudr/slate-collaborative/compare/v0.7.0...v0.7.1)
> 27 October 2020
> 28 October 2020
- defensive code for when the document sometimes isn't there on server restarts. [`#26`](https://github.com/cudr/slate-collaborative/pull/26)
- fix: socket io namespace message broadcast [`ab3c36a`](https://github.com/cudr/slate-collaborative/commit/ab3c36ab7dd7f24059c5d0864735c5892df98028)

View File

@ -1,11 +1,12 @@
{
"private": true,
"version": "0.7.1",
"description": "Slate collaborative plugin & microservice",
"scripts": {
"bootstrap": "lerna bootstrap",
"version": "auto-changelog -p ./packages/bridge/package.json --template changelog-template.hbs && git add CHANGELOG.md",
"changelog": "auto-changelog -p ./packages/bridge/package.json --template changelog-template.hbs && git add CHANGELOG.md",
"clean": "rimraf ./packages/**/lib/ && rimraf ./packages/**/tsconfig.tsbuildinfo && lerna clean --yes",
"release": "yarn prebuild && yarn build && lerna version && lerna publish from-package",
"release": "yarn prebuild && yarn build && lerna version && lerna publish from-package && yarn changelog",
"deploy:site": "git subtree push --prefix packages/example heroku master",
"dev": "lerna run --stream build:js && concurrently \"yarn watch\" \"lerna run dev --stream\"",
"build": "lerna run build:module --stream",

View File

@ -30,7 +30,7 @@
"typescript": "^3.8.3"
},
"scripts": {
"start": "node server.js",
"start": "nodemon server.js",
"start:cra": "react-scripts start",
"prebuild": "cp -f ./tsconfig.production.json ./tsconfig.json",
"build": "cross-env NODE_ENV=production && react-scripts build",