Skip to content

Commit

Permalink
chore: generate ts declarations on pretest
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Mar 3, 2016
1 parent a8692d0 commit 659483c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"scripts": {
"compile": "tsconfig -i 2 && ts-babel",
"lint": "eslint ./lib test cli.js index.js && tslint src/*",
"pretest": "npm run compile && npm run lint",
"pretest": "npm run compile && npm run lint && npm run declaration",
"test": "node ./test/helpers/runTests.js",
"test-nix": "result=\"$(tape index.spec.js ./lib/*.spec.js ./lib/**/*.spec.js)\"; echo \"$result\" | tap-spec; echo \"$result\" | tnyan; ava",
"test-win": "ava",
"declaration": "dts-generator --name electron-builder --out out/electron-builder.d.ts",
"semantic-release": "npm run declaration && semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/platformPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface DevMetadata extends Metadata {
directories?: MetadataDirectories
}

interface MetadataDirectories {
export interface MetadataDirectories {
buildResources?: string
}

Expand Down

0 comments on commit 659483c

Please sign in to comment.