diff --git a/packages/temporal-polyfill/package.json b/packages/temporal-polyfill/package.json index 22b10942..794f74bd 100644 --- a/packages/temporal-polyfill/package.json +++ b/packages/temporal-polyfill/package.json @@ -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", @@ -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": { @@ -53,7 +54,7 @@ "linkDirectory": true }, "dependencies": { - "temporal-spec": "~0.2.0" + "temporal-spec": "^0.2.0" }, "devDependencies": { "@js-temporal/temporal-test262-runner": "workspace:*",