chore(pkg): obviousify scripts
also speedify install by running `postinstall` builds in parallel
MODIFY
package.json
package.json
"clean": "lerna clean -y && npx rimraf node_modules package-lock.json \"packages/*/build\"",
"coverage": "lerna exec gulp coveralls",
"doctor": "node ./packages/doctor",
- "e2e-test": "lerna exec gulp e2e-test",
+ "e2e-test": "lerna exec \"gulp e2e-test\"",
"generate-docs": "lerna run --scope=appium generate-docs",
- "postinstall": "lerna bootstrap && lerna exec gulp prepublish",
+ "postinstall": "lerna bootstrap && lerna exec --parallel \"gulp prepublish\"",
"install-fake-driver": "lerna run --scope=appium install-fake-driver",
- "lint": "lerna exec --parallel gulp lint && lerna run --scope=@appium/eslint-config-appium lint",
- "lint:fix": "lerna exec --parallel gulp lint -- --fix",
+ "lint": "lerna exec --parallel \"gulp lint\" && lerna run --scope=@appium/eslint-config-appium lint",
+ "lint:fix": "lerna exec --parallel \"gulp lint --fix\"",
"precommit-lint": "lint-staged",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"reinstall": "npm run clean && npm install",
"sync-pkgs:appium-readme": "sync-monorepo-packages --force --no-package-json --packages=packages/appium README.md",
"sync-pkgs:common-fields": "sync-monorepo-packages --fields=author,license,repository,bugs,homepage,engines",
"sync-pkgs:keywords": "sync-monorepo-packages --field=keywords --packages='packages/*' --packages='!packages/eslint-config-appium'",
- "test": "lerna exec gulp once",
- "test:appium": "lerna exec --scope=appium gulp once",
- "test:base-driver": "lerna exec --scope=@appium/base-driver gulp once",
- "test:doctor": "lerna exec --scope=@appium/doctor gulp once",
- "test:e2e:appium": "lerna exec --scope=appium gulp e2e-test",
- "test:e2e:base-driver": "lerna exec --scope=@appium/base-driver gulp e2e-test",
- "test:e2e:fake-driver": "lerna exec --scope=@appium/fake-driver gulp e2e-test",
- "test:e2e:gulp-plugins": "lerna exec --scope=@appium/gulp-plugins gulp e2e-test",
- "test:e2e:support": "lerna exec --scope=@appium/support gulp e2e-test",
- "test:fake-driver": "lerna exec --scope=@appium/fake-driver gulp once",
- "test:gulp-plugins": "lerna exec --scope=@appium/gulp-plugins gulp once",
- "test:support": "lerna exec --scope=@appium/support gulp once",
- "test:test-support": "lerna exec --scope=@appium/test-support gulp once",
+ "test": "lerna exec \"gulp once\"",
+ "test:appium": "lerna exec --scope=appium \"gulp once\"",
+ "test:base-driver": "lerna exec --scope=@appium/base-driver \"gulp once\"",
+ "test:doctor": "lerna exec --scope=@appium/doctor \"gulp once\"",
+ "test:e2e:appium": "lerna exec --scope=appium \"gulp e2e-test\"",
+ "test:e2e:base-driver": "lerna exec --scope=@appium/base-driver \"gulp e2e-test\"",
+ "test:e2e:fake-driver": "lerna exec --scope=@appium/fake-driver \"gulp e2e-test\"",
+ "test:e2e:gulp-plugins": "lerna exec --scope=@appium/gulp-plugins \"gulp e2e-test\"",
+ "test:e2e:support": "lerna exec --scope=@appium/support \"gulp e2e-test\"",
+ "test:fake-driver": "lerna exec --scope=@appium/fake-driver \"gulp once\"",
+ "test:gulp-plugins": "lerna exec --scope=@appium/gulp-plugins \"gulp once\"",
+ "test:support": "lerna exec --scope=@appium/support \"gulp once\"",
+ "test:test-support": "lerna exec --scope=@appium/test-support \"gulp once\"",
"preversion": "npm run sync-pkgs && git add -A packages/appium/README.md packages/*/package.json",
"watch": "lerna exec watch"
},

chore(pkg): obviousify scripts
- also speedify install by running `postinstall` builds in parallel