misc(v2): better dx: yarn clear, yarn watch, yarn serve (#2922)

* add clear + serve scripts

* add ability to launch all TS projects in --watch mode

* attempt to create a watch plugin

* use rimraf for clear script

* update watch plugin poc

* add start:v2:watch

* remove the watch plugin
This commit is contained in:
Sébastien Lorber 2020-06-16 14:40:46 +02:00 committed by GitHub
parent c1102a4eae
commit b5d7c3a111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 605 additions and 28 deletions

View file

@ -4,7 +4,8 @@
"description": "Docs content plugin for Docusaurus",
"main": "lib/index.js",
"scripts": {
"tsc": "tsc"
"tsc": "tsc",
"watch": "tsc --watch"
},
"publishConfig": {
"access": "public"