Skip to content

Commit

Permalink
Remove uneeded files before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Sep 21, 2020
1 parent 20e012d commit dadc22f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: 12
- run: npm ci
- run: npm run build
- run: npm run clean
- name: Publish to npm
uses: pascalgn/npm-publish-action@1.3.3
env:
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"name": "react-tidy",
"version": "0.0.1-beta.3",
"description": "A collection of handy, flexible, typed, tested and documented React custom hooks",
"author": "Amine Ben hammou (@webNeat)",
"license": "MIT",
"repository": "webNeat/react-tidy",
"homepage": "https://github.com/webNeat/react-tidy#react-tidy",
"main": "dist/index.js",
"module": "dist/react-tidy.esm.js",
"types": "types/index.d.ts",
"typings": "dist/index.d.ts",
"files": [
"dist"
Expand All @@ -11,7 +17,8 @@
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --env=jsdom",
"test-coverage": "tsdx test --env=jsdom --coverage"
"test-coverage": "tsdx test --env=jsdom --coverage",
"clean": "rm -rf .github node_modules src .gitignore jest.config.js README.md testsSetup.ts tsconfig.json"
},
"peerDependencies": {
"react": ">=16.8"
Expand Down

0 comments on commit dadc22f

Please sign in to comment.