Skip to content

Commit

Permalink
Updated npm distribution lib
Browse files Browse the repository at this point in the history
  • Loading branch information
evg4b committed Apr 23, 2023
1 parent 286178b commit b8b21ee
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*
!package.json
42 changes: 34 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,45 @@
"name": "uncors",
"version": "0.0.8",
"description": "A simple dev HTTP/HTTPS reverse proxy for replacing CORS headers.",
"repository": "git@github.com:evg4b/uncors.git",
"author": "Evgeny Abramovich <evg.abramovitch@gmail.com>",
"keywords": [
"cors",
"proxy",
"reverse-proxy",
"http",
"https",
"cli",
"devtool"
],
"homepage": "https://github.com/evg4b/uncors#readme",
"bugs": {
"url": "https://github.com/evg4b/uncors/issues"
},
"license": "MIT",
"author": "Evgeny Abramovich <evg.abramovitch@gmail.com>",
"repository": {
"type": "git",
"url": "git@github.com:evg4b/uncors.git"
},
"scripts": {
"postinstall": "go-npm install",
"preuninstall": "go-npm uninstall"
"postinstall": "npm-go-bin install",
"preuninstall": "npm-go-bin uninstall"
},
"goBinary": {
"go-bin": {
"name": "uncors",
"path": "./bin",
"url": "https://github.com/evg4b/uncors/releases/download/v{{version}}/uncors_{{version}}_{{platform}}_{{arch}}.tar.gz"
},
"dependencies": {
"@go-task/go-npm": "^0.1.17"
}
"npm-go-bin": "^0.0.1-beta.1"
},
"cpu": [
"x64",
"ia32",
"arm",
"arm64"
],
"os": [
"darwin",
"linux",
"win32"
]
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# yarn lockfile v1


"@go-task/go-npm@^0.1.17":
version "0.1.17"
resolved "https://registry.yarnpkg.com/@go-task/go-npm/-/go-npm-0.1.17.tgz#927a1a87a40024a9b192b58c40e6c86eefbbc836"
integrity sha512-j+xydQWrAxsqLYjweok1fWzDmBAA1g/gmFbPyG8kRI/d/+rzXGGLlro8zdS6mJ3Is+8BrIy2ZBmQkoONhowh7A==
npm-go-bin@^0.0.1-beta.1:
version "0.0.1-beta.1"
resolved "https://registry.yarnpkg.com/npm-go-bin/-/npm-go-bin-0.0.1-beta.1.tgz#5db3b62e2903641c523d7a7af0124df915950e1e"
integrity sha512-XvSZ1NmFTlDyMylAOlnqbYIR+UVoVFUYwgyufGHRJhcdO+3mNKWDUULeSD1yg+8nTMGgB1DbfjH1ryfyLCei+g==

0 comments on commit b8b21ee

Please sign in to comment.