Skip to content

Commit

Permalink
Update settings for publishing to npm (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexguo8 authored Mar 26, 2021
1 parent c705f9f commit 85cb1f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# starter-code-cli
CLI tool for generating starter code.

Publishing steps:
1. Sign into the uwblueprint-infra account using `npm login`
2. Run `npm publish --dry-run` to see what files would be published
3. To actually publish to npm, run `npm publish --access public`
1 change: 1 addition & 0 deletions index.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
import cli from "./cli";

import Scrubber from "./scrubber/scrubber";
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "starter-code-cli",
"name": "@uwblueprint/create-bp-app",
"version": "1.0.0",
"description": "Starter code generation CLI tool.",
"main": "index.js",
"bin": "bin/index.js",
"repository": "[email protected]:uwblueprint/starter-code-cli.git",
"author": "UW Blueprint Internal Tools",
"license": "MIT",
Expand Down Expand Up @@ -34,5 +35,6 @@
"figlet": "^1.5.0",
"inquirer": "^8.0.0",
"yargs": "^16.2.0"
}
},
"files": ["bin/"]
}

0 comments on commit 85cb1f2

Please sign in to comment.