diff --git a/package.json b/package.json index 58bf863..649cfdd 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsconfig.package.json b/tsconfig.package.json new file mode 100644 index 0000000..dd1a41e --- /dev/null +++ b/tsconfig.package.json @@ -0,0 +1,8 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": {}, + "files": [ + "./typings/resolve-app-path.d.ts", + "./support/package.ts" + ] +}