Skip to content

Commit

Permalink
Include an oclif manifest in build output
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Nov 26, 2018
1 parent fd61913 commit 7522e1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
.yarn-integrity
/.nyc_output
/dist
oclif.manifest.json
/lib
/tmp
/yarn.lock
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
"httptoolkit-server": "./bin/run"
},
"files": [
"oclif.manifest.json",
"/bin",
"/lib"
],
"scripts": {
"start": "./bin/run",
"build": "npm run build:src && npm run build:pack",
"build:src": "rm -rf lib && tsc -b",
"build:pack": "oclif-dev pack",
"build:pack": "oclif-dev manifest && oclif-dev pack",
"prepack": "npm run build:src",
"test": "mocha -r ts-node/register 'test/**/*.spec.ts'"
},
Expand Down

0 comments on commit 7522e1e

Please sign in to comment.