package: simplify lint and test scripts + run build before tests

This commit is contained in:
Patrik Oldsberg
2020-04-01 23:16:44 +02:00
parent ab827f36e1
commit 3404afcd1e
+2 -2
View File
@@ -8,10 +8,10 @@
"start": "yarn build && yarn workspace example-app start",
"bundle": "yarn build && yarn workspace example-app bundle",
"build": "lerna run build",
"test": "cross-env CI=true lerna run test --since origin/master -- --coverage",
"test": "yarn build && lerna run test --since origin/master -- --coverage",
"lint": "lerna run lint --since origin/master --",
"create-plugin": "backstage-cli create-plugin",
"release": "if [ \"$(git symbolic-ref --short HEAD)\" = master ]; then echo \"don't try to release master\"; exit 1; else lerna version --no-push; fi",
"lint": "cross-env CI=true lerna run lint --since origin/master --",
"lerna": "lerna",
"storybook": "yarn workspace storybook start"
},