Skip to content

Commit

Permalink
🎉 Upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisDmitry committed Jan 13, 2023
1 parent 7e242fa commit 93c8762
Show file tree
Hide file tree
Showing 9 changed files with 1,651 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
yarn.lock
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
globals: {
Telegram: 'readonly'
},
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
yarn.lock
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"printWidth": 90,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"plugins": ["prettier-plugin-sort-imports"],
"pluginSearchDirs": false
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Types for Telegram Web Apps
https://core.telegram.org/bots/webapps
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "telegram-webapps",
"version": "0.0.1",
"license": "MIT",
"types": "src/index.d.ts",
"homepage": "https://github.com/DavisDmitry/telegram-webapps",
"repository": "https://github.com/DavisDmitry/telegram-webapps.git",
"scripts": {
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --check . --write ."
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"prettier": "^2.8.2",
"prettier-plugin-sort-imports": "^1.7.1",
"typescript": "^4.9.4"
}
}
Loading

0 comments on commit 93c8762

Please sign in to comment.