Skip to content

Commit

Permalink
fix(typings): Don't publish *.tsx files to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs committed Dec 21, 2018
1 parent 37ba86a commit a65b272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**/**
!src/**
src/**/*.ts
src/**/*.tsx
!src/**/*.d.ts
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"test": "mocha",
"preversion": "npm test",
"version": "npm run generate-changelog",
"postversion": "npm publish && git push && git push --tags",
"generate-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"start": "tsc -w -p .",
"release:patch": "npm version patch -m \"chore(release): %s\"",
Expand Down Expand Up @@ -51,4 +52,4 @@
"tslint": "^5.12.0",
"typescript": "~3.2.2"
}
}
}

0 comments on commit a65b272

Please sign in to comment.