chore: fix dev scripts
MODIFY
packages/base-driver/package.json
packages/base-driver/package.json
"!build/test/e2e/fixtures"
],
"scripts": {
- "build": "npm run build:sources && npm run build:test",
- "build:sources": "babel lib --root-mode=upward --out-dir=build/lib",
+ "build": "npm run build:distfiles && npm run build:test",
+ "build:distfiles": "babel lib --root-mode=upward --out-dir=build/lib",
"build:test": "babel test --root-mode=upward --out-dir=build/test --copy-files",
- "dev": "npm run build -- --watch",
+ "dev": "run-p \"build:distfiles -- --watch\" \"build:test -- --watch\"",
"fix": "npm run lint -- --fix",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore .",
"test": "npm run test:unit",

MODIFY
packages/schema/package.json
packages/schema/package.json
"build": "run-s build:distfiles build:schema-json",
"build:distfiles": "babel lib --root-mode=upward --out-dir=build",
"build:schema-json": "node ./scripts/generate-schema-json.js",
- "dev": "npm run build -- --watch",
+ "dev": "npm run build:distfiles -- --watch",
"fix": "npm run lint -- --fix",
"lint": "eslint -c ../../.eslintrc --ignore-path ../../.eslintignore ."
},

chore: fix dev scripts