mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 20:59:28 +00:00
Get rid of dependencies by bundling
This commit is contained in:
4556
package-lock.json
generated
4556
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gzuidhof/go-npm",
|
"name": "@gzuidhof/go-npm",
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"description": "Distribute and install Go binaries via NPM",
|
"description": "Distribute and install Go binaries via NPM",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -8,24 +8,22 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"prepublish": "node node_modules/@babel/cli/bin/babel.js src --out-dir bin --presets=@babel/preset-env"
|
"build": "rm -rf ./bin && esbuild --bundle src/index.js --outfile=\"./bin/index.js\" --platform=node --target=es6 --minify-whitespace",
|
||||||
|
"prepublishOnly": "npm i && npm run build"
|
||||||
},
|
},
|
||||||
"author": "Sanath Kumar Ramesh <dayanandasaraswati@gmail.com>",
|
"author": "Sanath Kumar Ramesh <dayanandasaraswati@gmail.com>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
|
||||||
"mkdirp": "^1.0.4",
|
|
||||||
"request": "^2.88.2",
|
|
||||||
"tar": "^2.2.2",
|
|
||||||
"unzipper": "0.10.10"
|
|
||||||
},
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/gzuidhof/go-npm.git"
|
"url": "https://github.com/gzuidhof/go-npm.git"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/gzuidhof/go-npm",
|
"homepage": "https://github.com/gzuidhof/go-npm",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.14.8",
|
"esbuild": "^0.12.17",
|
||||||
"@babel/preset-env": "^7.14.8",
|
"jest": "^24.5.0",
|
||||||
"jest": "^24.5.0"
|
"mkdirp": "^1.0.4",
|
||||||
|
"request": "^2.88.2",
|
||||||
|
"tar": "^2.2.2",
|
||||||
|
"unzipper": "0.10.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user