Skip to content

Commit

Permalink
Merge pull request #16 from paastis/chore-add-deployment-scripts
Browse files Browse the repository at this point in the history
chore: configure npm module packaging
  • Loading branch information
jbuget committed Nov 3, 2022
2 parents d0d3663 + 1cb037c commit e0f9461
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 2 deletions.
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.

0 comments on commit e0f9461

Please sign in to comment.