Skip to content

Commit 70b9ced

Browse files
committed
feat: export options interface
1 parent 6cb3e3b commit 70b9ced

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"semantic-release": "semantic-release",
3131
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
3232
"precommit": "lint-staged",
33-
"travis-deploy-once": "travis-deploy-once"
33+
"travis-deploy-once": "travis-deploy-once",
34+
"prepublishOnly": "npm run build"
3435
},
3536
"lint-staged": {
3637
"{src,test}/**/*.ts": [

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface IFileMap {
1010
[fileName: string]: string;
1111
}
1212

13-
interface IOptions {
13+
export interface IOptions {
1414

1515
/* 项目所在根目录 */
1616
context: string;

0 commit comments

Comments
 (0)