fix(doctor): actually build bin dir, fix dev script
MODIFY
packages/doctor/package.json
packages/doctor/package.json
"build"
],
"scripts": {
- "build": "babel lib --root-mode=upward --out-dir=build/lib",
- "dev": "npm run build -- --watch",
+ "build:lib": "babel lib --root-mode=upward --out-dir=build/lib",
+ "build:bin": "babel bin --root-mode=upward --out-dir=build/bin",
+ "build": "run-s build:*",
+ "dev": "run-p \"build:lib -- --watch\" \"build:bin -- --watch\"",
"fix": "npm run lint -- --fix",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .",
"prepare": "npm run build",

fix(doctor): actually build bin dir, fix dev script