summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/example/web/tdweb/package.json
blob: 54ed3f2f96f5f6f23fe11dc001eeb17b796e2516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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"
      }
    }
  }
}