Skip to content

Commit

Permalink
fix(package): fix bug in package command
Browse files Browse the repository at this point in the history
  • Loading branch information
codeandcats committed Oct 5, 2018
1 parent f9dbae5 commit 266b968
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build": "tsc -p ./tsconfig.main.json",
"lint": "tslint -p ./tsconfig.json",
"lint:fix": "npm run lint -- --fix",
"package": "ts-node ./support/package.ts",
"prepackage": "npm run build",
"package": "ts-node --project ./tsconfig.package.json --files ./support/package.ts",
"prerelease": "npm run package",
"release": "git checkout master && git pull origin master && standard-version",
"ship-it": "git push --follow-tags origin master && cd ./dist && npm publish",
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {},
"files": [
"./typings/resolve-app-path.d.ts",
"./support/package.ts"
]
}

0 comments on commit 266b968

Please sign in to comment.