From d67575a60f69a4b3a4d7e0b97397603f26f2737b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 31 Mar 2016 20:12:49 +0200 Subject: [PATCH] Add GitHub Releases deployment to Travis --- .travis.yml | 23 ++++++++++++++++------- readme.md | 7 +++++++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75ee6c1..3ab2343 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,19 @@ node_js: after_script: npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls sudo: false deploy: - provider: npm - email: tituswormer@gmail.com - api_key: - secure: kVRUR6vE8yHb3zDblXnup0k6t8p7max0aK++DYBZCSpnIF+rIzqTjg4FdDv8Hv0Hdi/52PiYrBSBw8VdCRGhQlwmVXzNOllAy7+ucZya9zlpmpvken7bjQDifgbKqkxplMyNaUgLggDTEVyfIcPbBAagiV/hrp+M6/viLw++GN0= - on: - tags: true - repo: wooorm/franc + - provider: npm + email: tituswormer@gmail.com + api_key: + secure: kVRUR6vE8yHb3zDblXnup0k6t8p7max0aK++DYBZCSpnIF+rIzqTjg4FdDv8Hv0Hdi/52PiYrBSBw8VdCRGhQlwmVXzNOllAy7+ucZya9zlpmpvken7bjQDifgbKqkxplMyNaUgLggDTEVyfIcPbBAagiV/hrp+M6/viLw++GN0= + on: + tags: true + node: '5.0' + - provider: releases + api_key: + secure: A8NpISg//NNDq9kOclBemt5KD1SKPpYm/dZzGx2+smOST1EAgriG7oPDO+mE4Umb6omuoajBJxmSIYir3tzKC/GsTQFZaulBtJl5IMUJJigKHosDm5AT7OvriuTtozpJ4J5FrUbUxp6UJzrNPtm7hmPn5Ln/2rMbjiTpUvPmOZk= + file: + - "franc.js" + - "franc-most.js" + - "franc-all.js" + on: + tags: true diff --git a/readme.md b/readme.md index cf4fc62..8f58521 100644 --- a/readme.md +++ b/readme.md @@ -20,6 +20,9 @@ Detect the language of text. npm install franc ``` +**franc** is also available pre-built as an AMD, CommonJS, and globals +module, [supporting 75, 176, and 339 languages][releases]. + ## Usage ```javascript @@ -161,3 +164,7 @@ Franc is a derivative work from [guess-language](http://code.google.com/p/guess- ## License [MIT](LICENSE) © [Titus Wormer](http://wooorm.com) + + + +[releases]: https://github.com/wooorm/franc/releases