Skip to content

Commit 471d0b0

Browse files
fix: publish scripts (#51)
1 parent 68ea4db commit 471d0b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/eslint-plugin-rebase/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Use our CLI to initialize, pointing it to your source files:
2424
eslint-rebase 'src/**'
2525
```
2626

27-
Or alternatively, to set a warnings rather than ignore:
27+
Or alternatively, to set as warnings rather than ignore:
2828

2929
```shell
3030
eslint-rebase --warning 'src/**'

packages/eslint-plugin-rebase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"scripts": {
1616
"test": "jest",
1717
"build": "tsc",
18-
"build:publish": "npm run build && cp -r ../../{docs,README.md,LICENSE}",
18+
"build:publish": "npm run build && cp -r docs README.md LICENSE ../..",
1919
"build:watch": "tsc -w",
2020
"type-check": "tsc --noEmit",
21-
"prepublishOnly": "npm test && npm run build"
21+
"prepublishOnly": "npm test && npm run build:publish"
2222
},
2323
"keywords": [
2424
"eslint",

0 commit comments

Comments
 (0)