diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7f05d1a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: node_js +node_js: + - "4.2.4" +deploy: + provider: npm + email: npm@lossless.digital + api_key: + secure: k075QdAcmEdmAoVaP5vclLnZmhbZB39v85VIUMWAKXbIAU+liHrYZRlIEYfAaIUrf6sha+zAo/U/vjAN7c5ArB7J/HjCLJ3lsi2fWtaSRlYQrYX9/EhU0S+YZjRE8Jrn4hGTcce6I2mANBnEzvzlXrlKaqVvSqOqTO9nJ5aDBCGa5XT3EwlHKkRlAlL3ZOLrRg38R343E8ifZBsbn9G0e+RgDt0sic3WD8NME9lpsQ/99UZKH00duHbhF9nme5Sjdh86y01hvsaBf+CLR4gfS2IntnrCSrZbETFrsOBUyMnJZDQ3qlrjcEaiTkpJ4iSIqr+ftwGMMD6S1MxCTPqkp64UIeMz2Tg41HqoaeIg7z8cF0APv6M9ZAdWhsU43GqsMe70dK900JZpQAkQxMf/6NpPpGfZug6TwqLYSIRzvjvNrhYfuyoGfXdAxrM3SJMkIq6rwE+T/y36kZaC3CrQRyNZypNz0vW1M9HLjJUi2vO0U/CDn8tvi1p6ChrDXDfV3H2UIAMHFlAF+GrT7dMWwD+p+d8mc9gpAFEF9zMqAIJamPhwboJxoHjKQrqrq5czNm75ETL77AzfnU6CfQlG5dTIFnGId8y0ZxXvtpBruDoyC1+ZF23MYZmb+ipxQZM2oLCjNLeL3aEePc/JlSm6Gn8w3sIkZTG261F0XZxdApw= + on: + tags: true + repo: pushrocks/npmts diff --git a/README.md b/README.md index 56527d6..87ea877 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ Then use it in package.json's script section to trigger a build: by default npmts looks for `./ts/index.ts` and `./ts/test.ts` that will compile to `./index.js` and `./test.js` -npmts also creates a index.d.ts declaration file. +#### Declaration files +**npmts** also creates an `index.d.ts` declaration file by default. You can reference it in your package.json like this: ```json @@ -33,7 +34,7 @@ You can reference it in your package.json like this: When requiring the module from other TypeScript files, the TypeScript Compiler will use the declaration file to resolve typings. -#### Declaration files + ### Custom behaviour We are currently building support for custom behaviour with a super simple config file.