Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #3 from k-egor-smirnov/dev
Browse files Browse the repository at this point in the history
README Fixed
  • Loading branch information
Egor Smirnov authored Jan 14, 2018
2 parents 6797f22 + 7155644 commit eeeaf1c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 ✅
- Удобный интерфейс для ботов
Expand Down
4 changes: 2 additions & 2 deletions api-schema/GenerateModels.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})()
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit eeeaf1c

Please sign in to comment.