Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files config to package.json to exclude irrelevant files from published package #348

Merged
merged 4 commits into from May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stale-balloons-beam.md
@@ -0,0 +1,5 @@
---
'playroom': patch
---

Exclude irrelevant files from published package
8 changes: 8 additions & 0 deletions package.json
Expand Up @@ -7,6 +7,14 @@
"bin": {
"playroom": "bin/cli.cjs"
},
"files": [
"CHANGELOG.md",
".babelrc",
"images",
"lib",
"src",
"utils"
],
"scripts": {
"cypress": "start-server-and-test build-and-serve:all '9000|9001|9002' 'cypress run'",
"cypress:dev": "start-server-and-test start:all '9000|9001|9002' 'cypress open --browser chrome --e2e'",
Expand Down