diff --git a/README.md b/README.md index d834dd4..3728f39 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # VK-Next > Библиотека для ВК, основанная на кодогенерации методов API с поддержкой удобного написания ботов +[![npm](https://img.shields.io/npm/v/vk-next.svg)](https://www.npmjs.com/package/vk-next) + ## Roadmap - Поддержка VK API ✅ - Удобный интерфейс для ботов diff --git a/api-schema/GenerateModels.js b/api-schema/GenerateModels.js index 37bf892..2787ef2 100644 --- a/api-schema/GenerateModels.js +++ b/api-schema/GenerateModels.js @@ -87,9 +87,9 @@ function generateDir ( let apiClassCode = codeGenerate.generateAPIClass(categories) - fs.writeFile(path.join(apiPath, '..', 'API.js'), apiClassCode, err => { + fs.writeFile(path.join(apiPath, '..', 'index.js'), apiClassCode, err => { if (err) console.log(err) - console.log('API.js generated') + console.log('index.js generated') }) })() diff --git a/package.json b/package.json index 7088a40..22e0ce5 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "vk-next", - "version": "0.0.2", + "version": "0.0.3", "description": "VK API Library based on code generation with bots support", "main": "lib/index.js", "scripts": { "postinstall": "node ./api-schema/GenerateModels", "test": "echo \"Error: no test specified\" && exit 1" }, + "repository": { + "url": "https://github.com/k-egor-smirnov/vk-next.git" + }, "author": "k.egor.smirnov", "license": "MIT", "dependencies": {