fix: make publish bot run full build, not just tsc (#6848)

`npm run tsc` is not enough to do a full build now we also include the
`types.d.ts` file, so we need to run `build.`
This commit is contained in:
Jack Franklin 2021-02-09 11:34:21 +00:00 committed by GitHub
parent 25abae6e79
commit f718b14b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@
"funit": "PUPPETEER_PRODUCT=firefox npm run unit", "funit": "PUPPETEER_PRODUCT=firefox npm run unit",
"test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser", "test": "npm run tsc && npm run lint --silent && npm run unit-with-coverage && npm run test-browser",
"prepare": "node typescript-if-required.js", "prepare": "node typescript-if-required.js",
"prepublishOnly": "npm run tsc", "prepublishOnly": "npm run build",
"dev-install": "npm run tsc && node install.js", "dev-install": "npm run tsc && node install.js",
"install": "node install.js", "install": "node install.js",
"eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)", "eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",