add a script to clear out compiled ts

This commit is contained in:
jhuleatt
2019-04-24 14:11:48 -07:00
parent 021b062dfa
commit a8dd818a57

View File

@@ -4,6 +4,7 @@
"description": "Firebase library for React",
"main": "index.js",
"scripts": {
"clean": "find ./ -name '**.js' -delete && find ./ -name '**.jsx' -delete && find ./ -name '**.map' -delete",
"build": "tsc index.ts --lib DOM,ES2018 --sourceMap --declaration --jsx react",
"test": "jest",
"watch": "tsc index.ts --lib DOM,ES2018 --watch --sourceMap --declaration --jsx react",