Skip to content

Commit

Permalink
release to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
matronator committed Apr 20, 2024
1 parent 00af4a2 commit e63dfff
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Dependency directories (remove the comment below to include it)
vendor/
pkg/
node_modules

# Go workspace file
go.work
Expand Down
31 changes: 31 additions & 0 deletions npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "amock-cli",
"version": "0.1.1",
"description": "Simple API mock server",
"main": "index.js",
"directories": {
"example": "../examples"
},
"scripts": {
"postinstall": "go-npm install",
"preuninstall": "go-npm uninstall"
},
"repository": {
"type": "git",
"url": "git+https://github.com/matronator/amock.git"
},
"keywords": [
"server",
"api-server",
"api",
"mock",
"mock-api",
"json-server"
],
"author": "Matronator <[email protected]>",
"license": "https://github.com/matronator/amock#LICENSE",
"bugs": {
"url": "https://github.com/matronator/amock/issues"
},
"homepage": "https://github.com/matronator/amock#README.md",
"dependencies": {
"@go-task/go-npm": "^0.2.0"
},
"goBinary": {
"name": "amock",
"path": "./bin",
"url": "https://github.com/matronator/amock/releases/download/v{{version}}/amock_{{platform}}_{{arch}}.{{archive_ext}}"
}
}

0 comments on commit e63dfff

Please sign in to comment.