Skip to content

Commit 1d4dde5

Browse files
committed
Clean up package.json scripts
1 parent c570f59 commit 1d4dde5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
- name: Test
1919
run: yarn test
2020
- name: Lint
21-
run: yarn run lint-all
21+
run: yarn run lint

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Contributions are welcome.
99
3. Check for type errors: `yarn tsc`
1010
4. Run Rollup: `yarn build`
1111
5. Run tests: `yarn test`
12-
6. Run ESLint: `yarn lint-all`
12+
6. Run ESLint: `yarn lint`
13+
7. Run Storybook: `yarn storybook`
1314

1415
## Publishing
1516

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@
2626
"scripts": {
2727
"build": "yarn clean && tsc && rollup -c .config/rollup.config.js",
2828
"clean": "rimraf dist",
29-
"lint": "eslint",
30-
"lint-all": "yarn lint .",
29+
"lint": "eslint .",
3130
"lint-staged": "lint-staged --no-stash",
3231
"prepack": "yarn run build",
33-
"prettier-all": "prettier .",
32+
"prettier": "prettier .",
3433
"setup": "husky install",
35-
"start": "yarn run storybook",
3634
"storybook": "start-storybook -p 8080",
3735
"test": "jest --config .config/jest.config.cjs"
3836
},

0 commit comments

Comments
 (0)