summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/example/web/tdweb/package.json
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-11-30 17:48:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-11-30 17:48:47 +0300
commit0ece30dc7c0e34b4c5911969b8fa99c33c6d023c (patch)
tree671325d3fec09b999411e4e3ab84ef8259261818 /protocols/Telegram/tdlib/td/example/web/tdweb/package.json
parent46c53ffc6809c67e4607e99951a2846c382b63b2 (diff)
Telegram: update for TDLIB
Diffstat (limited to 'protocols/Telegram/tdlib/td/example/web/tdweb/package.json')
-rw-r--r--protocols/Telegram/tdlib/td/example/web/tdweb/package.json102
1 files changed, 102 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/example/web/tdweb/package.json b/protocols/Telegram/tdlib/td/example/web/tdweb/package.json
new file mode 100644
index 0000000000..54ed3f2f96
--- /dev/null
+++ b/protocols/Telegram/tdlib/td/example/web/tdweb/package.json
@@ -0,0 +1,102 @@
+{
+ "name": "tdweb",
+ "version": "1.8.1",
+ "description": "JavaScript interface for TDLib (Telegram library)",
+ "main": "dist/tdweb.js",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/tdlib/td.git",
+ "directory": "example/web/tdweb"
+ },
+ "files": [
+ "dist"
+ ],
+ "scripts": {
+ "build": "webpack --mode production",
+ "start": "webpack-dev-server --open"
+ },
+ "keywords": [
+ "telegram"
+ ],
+ "author": "Arseny Smirnov",
+ "license": "MIT",
+ "devDependencies": {
+ "@babel/core": "^7.4.3",
+ "@babel/plugin-syntax-dynamic-import": "^7.2.0",
+ "@babel/plugin-transform-runtime": "^7.4.3",
+ "@babel/preset-env": "^7.4.3",
+ "@typescript-eslint/eslint-plugin": "^1.7.0",
+ "acorn": "^6.4.1",
+ "babel-eslint": "^10.0.1",
+ "babel-loader": "^8.0.5",
+ "clean-webpack-plugin": "^2.0.1",
+ "eslint": "^5.16.0",
+ "eslint-config-react-app": "^4.0.0",
+ "eslint-loader": "^2.1.2",
+ "eslint-plugin-flowtype": "^2.0.0",
+ "eslint-plugin-import": "^2.17.2",
+ "eslint-plugin-jsx-a11y": "^6.2.1",
+ "eslint-plugin-react": "^7.12.4",
+ "eslint-plugin-react-hooks": "^1.6.0",
+ "file-loader": "^3.0.1",
+ "husky": "^1.3.1",
+ "lint-staged": "^8.1.5",
+ "prettier": "^1.17.0",
+ "typescript": "^3.4.5",
+ "webpack": "^4.44.1",
+ "webpack-cli": "^3.3.12",
+ "worker-loader": "^2.0.0"
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
+ "lint-staged": {
+ "linters": {
+ "webpack.config.json": [
+ "prettier --single-quote --write",
+ "git add"
+ ],
+ "package.json": [
+ "prettier --single-quote --write",
+ "git add"
+ ],
+ "src/*.{js,jsx,json,css}": [
+ "prettier --single-quote --write",
+ "git add"
+ ]
+ }
+ },
+ "dependencies": {
+ "@babel/runtime": "^7.4.3",
+ "broadcast-channel": "^2.1.12",
+ "localforage": "^1.7.3",
+ "uuid": "^3.3.2"
+ },
+ "babel": {
+ "presets": [
+ "@babel/env"
+ ],
+ "plugins": [
+ "@babel/syntax-dynamic-import",
+ "@babel/transform-runtime"
+ ]
+ },
+ "eslintConfig": {
+ "extends": "eslint-config-react-app",
+ "env": {
+ "worker": true,
+ "node": true,
+ "browser": true
+ },
+ "globals": {
+ "WebAssembly": true
+ },
+ "settings": {
+ "react": {
+ "version": "999.999.999"
+ }
+ }
+ }
+}