Skip to content

Commit

Permalink
Udpate dev deps; add better 'clear' command
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed Aug 21, 2024
1 parent 138ff3f commit c8faa08
Show file tree
Hide file tree
Showing 4 changed files with 1,343 additions and 1,339 deletions.
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"packages/*"
],
"scripts": {
"clear": "npm run clear:parcel-cache & npm run clear:builds & npm run clear:node_modules",
"clear:builds": "rm -rf ./packages/*/dist",
"clear:parcel-cache": "rm -rf ./.parcel-cache",
"clear:node_modules": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules",
"clear": "pnpm run clear:git & pnpm run clear:library & pnpm run clear:node_modules & pnpm run clear:website",
"clear:git": "git clean -dfx",
"clear:library": "cd packages/react-resizable-panels && pnpm run clear",
"clear:node_modules": "rm -rf ./node_modules",
"clear:website": "cd packages/react-resizable-panels-website && pnpm run clear",
"dev": "pnpm run /^dev:.*/",
"dev:core": "cd packages/react-resizable-panels && pnpm watch",
"dev:website": "cd packages/react-resizable-panels-website && pnpm watch",
Expand All @@ -21,7 +22,8 @@
"typescript:watch": "tsc --noEmit --watch"
},
"devDependencies": {
"@babel/preset-typescript": "^7.22.5",
"@babel/core": "^7",
"@babel/preset-typescript": "^7",
"@playwright/test": "^1.37.0",
"@types/jest": "^29.5.3",
"@types/node": "^18.17.5",
Expand All @@ -31,19 +33,19 @@
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/type-utils": "^5.62.0",
"eslint": "^8.47.0",
"parcel": "^2.9.3",
"parcel": "^2",
"prettier": "latest",
"process": "^0.11.10",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"dependencies": {
"@parcel/config-default": "^2.9.3",
"@parcel/core": "^2.9.3",
"@parcel/packager-ts": "^2.9.3",
"@parcel/transformer-js": "^2.9.3",
"@parcel/transformer-react-refresh-wrap": "^2.9.3",
"@parcel/transformer-typescript-types": "^2.9.3",
"@parcel/config-default": "^2",
"@parcel/core": "^2.12.0",
"@parcel/packager-ts": "^2",
"@parcel/transformer-js": "^2",
"@parcel/transformer-react-refresh-wrap": "^2",
"@parcel/transformer-typescript-types": "^2.12.0",
"@preconstruct/cli": "^2.8.1"
},
"preconstruct": {
Expand Down
5 changes: 4 additions & 1 deletion packages/react-resizable-panels-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"private": true,
"scripts": {
"build": "parcel build \"index.html\"",
"clear": "pnpm run clear:parcel-cache & pnpm run clear:node_modules",
"clear:node_modules": "rm -rf ./node_modules",
"clear:parcel-cache": "rm -rf ./.parcel-cache",
"kill-port": "kill-port ${PORT:-1234}",
"test:e2e": "playwright test",
"test:e2e:debug": "DEBUG=true playwright test",
"watch": "parcel \"index.html\""
"watch": "parcel \"index.html\" --watch-dir=../.."
},
"dependencies": {
"@codemirror/lang-css": "latest",
Expand Down
3 changes: 3 additions & 0 deletions packages/react-resizable-panels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
"types": "dist/react-resizable-panels.cjs.d.ts",
"scripts": {
"clear": "pnpm run clear:builds & pnpm run clear:node_modules",
"clear:builds": "rm -rf ./packages/*/dist",
"clear:node_modules": "rm -rf ./node_modules",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"test": "jest --config=jest.config.js",
"test:watch": "jest --config=jest.config.js --watch",
Expand Down
Loading

0 comments on commit c8faa08

Please sign in to comment.