refactor: made all packages private and changed main to typescript file

This commit is contained in:
teidesu 2021-04-14 22:53:10 +03:00
parent c949709de2
commit c286570500
4 changed files with 8 additions and 4 deletions

View file

@ -1,10 +1,11 @@
{
"name": "@mtcute/client",
"private": true,
"version": "0.0.0",
"description": "High-level API and bot framework for MTProto",
"author": "Alisa Sireneva <me@tei.su>",
"license": "MIT",
"main": "dist/index.js",
"main": "src/index.ts",
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"docs": "npx typedoc",

View file

@ -1,10 +1,11 @@
{
"name": "@mtcute/core",
"private": true,
"version": "0.0.0",
"description": "Core functions and base MTProto client",
"author": "Alisa Sireneva <me@tei.su>",
"license": "MIT",
"main": "dist/index.js",
"main": "src/index.ts",
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"build": "tsc",

View file

@ -1,10 +1,11 @@
{
"name": "@mtcute/html-parser",
"private": true,
"version": "0.0.0",
"description": "HTML entities parser for MTCute",
"author": "Alisa Sireneva <me@tei.su>",
"license": "MIT",
"main": "index.js",
"main": "src/index.ts",
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"coverage": "nyc npm run test",

View file

@ -1,10 +1,11 @@
{
"name": "@mtcute/markdown-parser",
"private": true,
"version": "0.0.0",
"description": "Markdown entities parser for MTCute",
"author": "Alisa Sireneva <me@tei.su>",
"license": "MIT",
"main": "index.js",
"main": "src/index.ts",
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"coverage": "nyc npm run test",