Skip to content

Commit

Permalink
build: set files in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KathrynSheenaMedina committed Mar 13, 2024
1 parent 4a89b1e commit f3a6d88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ console.log(isValid); // output: true
1. Update `version` in `package.json`
2. Update `CHANGELOG.md`
3. Commit and push the changes
4. Run `npm run publish`
4. Run `npm run release`
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
"dev": "nodemon --exec ts-node index.ts --watch src",
"test": "jest --verbose",
"coverage": "jest --coverage",
"publish": "git tag v$npm_package_version && git push --tags"
"release": "git tag v$npm_package_version && git push --tags"
},
"keywords": [
"onify",
"javascript",
"script",
"functions"
"functions",
"typescript"
],
"author": {
"name": "Onify",
Expand All @@ -36,5 +37,8 @@
"repository": {
"type": "git",
"url": "git+https://github.com/onify/script-functions.git"
}
},
"files": [
"dist"
]
}

0 comments on commit f3a6d88

Please sign in to comment.