New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

template-bot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template-bot - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "template-bot",
"version": "0.0.1",
"version": "0.0.2",
"description": "Scaffolding out a Telegram bot",

@@ -5,0 +5,0 @@ "author": "Vitaly Domnikov <dotcypress@gmail.com>",

@@ -9,5 +9,5 @@ # template-bot

- ▲ Build with [micro-bot](https://github.com/telegraf/micro-bot)
- 📖 Lint with [standard](https://github.com/feross/standard)
- 📜 README with instant [now](https://zeit.co/now) deployment buttons
- Build with [micro-bot](https://github.com/telegraf/micro-bot)
- Lint with [standard](https://github.com/feross/standard)
- README with instant [now](https://zeit.co/now) deployment buttons

@@ -28,2 +28,2 @@ ## Usage

$ sao bot
``
```

@@ -1,1 +0,7 @@

module.exports = ({ reply }) => reply('42')
const { Composer, log } = require('micro-bot')
const bot = new Composer()
bot.use(log())
bot.command('start', ({ reply }) => reply('Hey!'))
module.exports = bot
{
"name": "<%= name %>",
"version": "1.0.0",
"version": "0.0.0",
"description": "<%= description %>",

@@ -11,5 +11,6 @@ "repository": {

"scripts": {
"test": "npm run lint",
"dev": "supervisor -x micro-bot index.js",
"start": "micro-bot -d ${NOW_URL}",
"lint": "eslint .",
"start": "micro-bot"
"test": "npm run lint"
},

@@ -30,4 +31,5 @@ "engines": {

"eslint-plugin-promise": "^3.0.0",
"eslint-plugin-standard": "^3.0.1"
"eslint-plugin-standard": "^3.0.1",
"supervisor": "^0.12.0"
}
}

@@ -12,6 +12,11 @@ <% const camelcasedName = this.camelcase(name) -%>

```sh
$ npm install --global micro-bot
$ micro-bot
$ npm install
$ BOT_TOKEN='123:......' npm run dev
```
```sh
$ yarn
$ BOT_TOKEN='123:......' yarn dev
```
## Deployment

@@ -18,0 +23,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc