Skip to content

Commit

Permalink
Namespace on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
jonallured committed Jan 11, 2019
1 parent b2ec206 commit 06317b2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Credit where credit is due.
# Usage
<!-- usage -->
```sh-session
$ npm install -g pear
$ npm install -g @jonallured/pear
$ pear COMMAND
running command...
$ pear (-v|--version|version)
pear/0.0.1 darwin-x64 node-v11.3.0
@jonallured/pear/0.0.1 darwin-x64 node-v11.3.0
$ pear --help [COMMAND]
USAGE
$ pear COMMAND
Expand Down
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "pear",
"name": "@jonallured/pear",
"description": "Credit where credit is due.",
"version": "0.0.1",
"author": "Jon Allured @jonallured",
"bin": {
"pear": "./bin/run"
},
"bugs": "https://github.com/jonallured/pear/issues",
"bugs": {
"url": "https://github.com/jonallured/pear/issues"
},
"dependencies": {
"@oclif/command": "^1",
"@oclif/config": "^1",
Expand Down Expand Up @@ -51,13 +53,20 @@
"@oclif/plugin-help"
]
},
"repository": "jonallured/pear",
"repository": {
"type": "git",
"url": "git+https://github.com/jonallured/pear.git"
},
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "tslint -p test -t stylish",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md"
},
"types": "lib/index.d.ts"
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
}
}

0 comments on commit 06317b2

Please sign in to comment.