Skip to content

Commit

Permalink
✨ Add npm installer package
Browse files Browse the repository at this point in the history
  • Loading branch information
patheticGeek committed Jan 25, 2022
1 parent b097fe2 commit 60c9891
Show file tree
Hide file tree
Showing 4 changed files with 469 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

node_modules/
dist/
16 changes: 16 additions & 0 deletions installer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# prjkt

Project scaffolding made easy!

## Installation

```
npm i -g prjkt-installer
```

## Usage

For docs [see here](https://github.com/patheticGeek/prjkt) or run:
```
prjkt help
```
35 changes: 35 additions & 0 deletions installer/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "prjkt-installer",
"version": "0.0.1",
"description": "Installer for prjkt",
"scripts": {
"postinstall": "go-npm install",
"preuninstall": "go-npm uninstall"
},
"goBinary": {
"name": "prjkt",
"path": "./bin",
"url": "https://github.com/patheticGeek/prjkt/releases/download/v{{version}}/prjkt_{{version}}_{{platform}}_{{arch}}.tar.gz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/patheticGeek/prjkt.git"
},
"keywords": [
"prjkt",
"golang",
"scaffolding"
],
"author": {
"name": "Pathetic Geek",
"url": "https://github.com/patheticGeek"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/patheticGeek/prjkt/issues"
},
"homepage": "https://github.com/patheticGeek/prjkt#readme",
"dependencies": {
"go-npm": "^0.1.9"
}
}
Loading

0 comments on commit 60c9891

Please sign in to comment.