Skip to content

Commit

Permalink
feat: export options interface
Browse files Browse the repository at this point in the history
  • Loading branch information
cxtom committed Jul 27, 2020
1 parent 6cb3e3b commit 70b9ced
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged",
"travis-deploy-once": "travis-deploy-once"
"travis-deploy-once": "travis-deploy-once",
"prepublishOnly": "npm run build"
},
"lint-staged": {
"{src,test}/**/*.ts": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface IFileMap {
[fileName: string]: string;
}

interface IOptions {
export interface IOptions {

/* 项目所在根目录 */
context: string;
Expand Down

0 comments on commit 70b9ced

Please sign in to comment.