-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify expected package manager for project. Use pnpm to run scripts
- Loading branch information
1 parent
62ac14b
commit da64bab
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
npm run lint:types | ||
npm run staged | ||
pnpm lint:types | ||
pnpm staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
npm run coverage | ||
npm run cleanup | ||
npm run build | ||
npm run size-limit | ||
pnpm coverage | ||
pnpm cleanup | ||
pnpm build | ||
pnpm size-limit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"useSuspender.ts": "eslint --fix", | ||
"*.test.{ts,tsx}": "eslint --fix" | ||
"src/**/*.test.{ts,tsx}": "eslint --fix" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
"name": "use-suspender", | ||
"version": "1.1.0", | ||
|
@@ -32,10 +33,10 @@ | |
"coverage": "c8 npm test", | ||
"test": "ava", | ||
"lint:types": "tsc --noEmit", | ||
"eslint": "eslint useSuspender.ts useSuspender.test.tsx", | ||
"eslint": "eslint src/**/*.ts src/**/*.tsx", | ||
"ci": "c8 npm test && c8 report --reporter=json", | ||
"postinstall": "husky install", | ||
"prepublishOnly": "npm run build && pinst --disable", | ||
"prepublishOnly": "pnpm lint:types pnpm cleanup && pnpm build && pinst --disable", | ||
"postpublish": "pinst --enable" | ||
}, | ||
"devDependencies": { | ||
|