Skip to content

Commit

Permalink
readme build step
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jan 7, 2024
1 parent 75d3930 commit 49d024a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/temporal-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/temporal-polyfill"
},
"scripts": {
"build": "pnpm run bundle:clean && pnpm run pkg-json && pnpm run tsc && pnpm run type-overrides && pnpm run bundle",
"build": "pnpm run bundle:clean && pnpm run pkg-json && pnpm run tsc && pnpm run type-overrides && pnpm run bundle && pnpm run readme",
"dev": "pnpm run bundle:clean && pnpm run pkg-json && pnpm run tsc && pnpm run type-overrides && concurrently --prefix-colors green npm:tsc:dev npm:bundle:dev",
"tsc": "tsc --build",
"tsc:dev": "tsc --build --watch --pretty",
Expand All @@ -35,8 +35,9 @@
"pkg-json:clean": "rm -rf dist/package.json",
"test": "./scripts/test.js",
"lint": "eslint .",
"readme": "cp ../../README.md dist",
"clean": "pnpm run tsc:clean && pnpm run bundle:clean && pnpm run pkg-json:clean",
"size": "gzip-size --include-original dist/global.min.js && pnpm export-size ./dist"
"size": "gzip-size --include-original --raw dist/global.min.js && pnpm export-size ./dist"
},
"type": "module",
"buildConfig": {
Expand All @@ -53,7 +54,7 @@
"linkDirectory": true
},
"dependencies": {
"temporal-spec": "~0.2.0"
"temporal-spec": "^0.2.0"
},
"devDependencies": {
"@js-temporal/temporal-test262-runner": "workspace:*",
Expand Down

0 comments on commit 49d024a

Please sign in to comment.