Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add commands to reformat according to prettier. Named 'reformat' to i…
…ndicate that we are doing a `--write`
  • Loading branch information
eoghanmurray committed Apr 13, 2023
commit 81bc33bdfe57bec72f10254d8f35dd0a43859a30
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test'",
"test:watch": "yarn turbo run test:watch",
"test:update": "yarn turbo run test:update",
"reformat:all": "yarn turbo run reformat",
"dev": "yarn turbo run dev",
"repl": "cd packages/rrweb && npm run repl",
"live-stream": "cd packages/rrweb && yarn live-stream",
Expand Down
1 change: 1 addition & 0 deletions packages/rrdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"url": "git+https://github.com/rrweb-io/rrweb.git"
},
"scripts": {
"reformat": "yarn prettier --write '**/*.{ts,md}'",
"dev": "rollup -c -w",
"bundle": "rollup --config",
"bundle:es-only": "cross-env ES_ONLY=true rollup --config",
Expand Down
1 change: 1 addition & 0 deletions packages/rrweb-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
},
"scripts": {
"build": "rollup -c",
"reformat": "yarn prettier --write '**/*.{ts,md}'",
"dev": "rollup -c -w",
"prepublishOnly": "npm run build",
"start": "sirv public",
Expand Down
1 change: 1 addition & 0 deletions packages/rrweb-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test:update": "jest --updateSnapshot",
"bundle": "rollup --config",
"bundle:es-only": "cross-env ES_ONLY=true rollup --config",
"reformat": "yarn prettier --write '**/*.{ts,md}'",
"dev": "npm run bundle:es-only --watch",
"typings": "tsc -d --declarationDir typings",
"prepublish": "npm run typings && npm run bundle",
Expand Down
1 change: 1 addition & 0 deletions packages/rrweb/package.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like the old commands are enough for me.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"repl": "npm run bundle:browser && node scripts/repl.js",
"live-stream": "npm run bundle:browser && node scripts/stream.js",
"dev": "npm run bundle:browser --watch",
"reformat": "yarn prettier --write '**/*.{ts,md}'",
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
"bundle": "rollup --config",
"typings": "tsc -d --declarationDir typings",
Expand Down
1 change: 1 addition & 0 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@rrweb/types"
],
"scripts": {
"reformat": "yarn prettier --write '**/*.{ts,md}'",
"dev": "vite",
"build": "tsc -noEmit && vite build",
"check-types": "tsc -noEmit",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test": {},
"test:watch": {},
"test:update": {},
"reformat": {},
"dev": {},
"lint": {},
"check-types": {}
Expand Down