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

chore: configure npm module packaging #16

Merged
merged 1 commit into from
Nov 3, 2022
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ npm-debug.log
.clever.json
coverage
.env
dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ coverage
paastis.yml
.history
.vscode
/dist
17 changes: 17 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.DS_Store
node_modules
/build
.svelte-kit
/package
.env
.env.*
!.env.example
.vercel
.output
.log
.idea
.clever.json
coverage
paastis.yml
.history
.vscode
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ coverage
.github
.history
.vscode
dist
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ git clone git@github.com:paastis/paastis.git
cd paastis

# 3/ Generate and edit .env file (especially, define SCALINGO_API_TOKEN value with your own API key)
cp env.sample .env
cp sample.env .env

# 4/ Install project dependencies
npm install
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"main": "src/index.js",
"scripts": {
"clean": "rm -rf dist",
"format:check": "prettier --check './**/*.{js,ts}'",
"format:write": "prettier --write './**/*.{js,ts}'",
"start": "node src/index.js",
Expand Down Expand Up @@ -36,5 +37,6 @@
"devDependencies": {
"jest": "^29.0.3",
"prettier": "2.7.1"
}
},
"files": ["src/*", "sample.env", "paastis.yml.sample"]
}
File renamed without changes.