Skip to content

Commit

Permalink
use pnpm instead of yarn in internal scripting
Browse files Browse the repository at this point in the history
  • Loading branch information
msereniti committed May 11, 2022
1 parent 77ba6a2 commit ca196f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"homepage": "https://github.com/phytonmk/react-use-await#readme",
"scripts": {
"build": "tsc --outDir dist && esbuild --minify --sourcemap src/useAwait.tsx --outfile=dist/index.js --target=esnext",
"lint": "eslint ./src/**/*.ts",
"lint": "eslint ./src/**/*.tsx",
"dev": "esbuild --serve --bundle --sourcemap example/app.tsx --outdir=example --servedir=example --target=esnext",
"prepack": "yarn lint && yarn test && yarn build",
"prepack": "pnpm lint && pnpm test && pnpm build",
"test": "uvu -r tsm ./tests",
"test.watch": "yarn test; watchlist ./src ./tests -- yarn test"
"test.watch": "pnpm test; watchlist ./src ./tests -- pnpm test"
},
"devDependencies": {
"@types/node": "17.0.10",
Expand All @@ -44,6 +44,7 @@
"husky": "7.0.4",
"jsdom": "19.0.0",
"nanospy": "0.5.0",
"pnpm": "^7.0.1",
"prettier": "2.5.1",
"react": "18.1.0",
"react-dom": "18.1.0",
Expand Down
10 changes: 9 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca196f2

Please sign in to comment.