forked from vkruglikov/react-telegram-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.69 KB
/
package.json
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
{
"name": "@altiore/twa",
"version": "2.4.21",
"description": "React components for Telegram WebApp",
"source": "./src/index.ts",
"type": "module",
"keywords": [
"react",
"telegram",
"telegram-bot"
],
"exports": {
"types": "./lib/index.d.ts",
"require": "./lib/react-telegram-web-app.cjs",
"default": "./lib/react-telegram-web-app.modern.js"
},
"files": [
"/lib"
],
"main": "lib/react-telegram-web-app.cjs",
"module": "lib/react-telegram-web-app.module.js",
"unpkg": "lib/react-telegram-web-app.umd.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "rm -rf ./lib/*; microbundle build --sourcemap=false && cp -R src/core/twa-types lib/core/twa-types",
"dev": "npm run build && microbundle watch --compress=false",
"prepare": "husky install",
"changeset": "changeset",
"docs": "typedoc && prettier --write ./docs",
"release": "npm run test:all && npm run build && npm run test:package && changeset publish",
"format": "prettier --write .",
"eslint": "npx eslint src",
"test": "NODE_ENV=test jest",
"test:all": "NODE_ENV=test jest --testPathIgnorePatterns package",
"test:package": "NODE_ENV=test jest package --updateSnapshot"
},
"repository": {
"type": "git",
"url": "git+https://github.com/altiore/twa.git"
},
"publishConfig": {
"access": "public"
},
"contributors": [
{
"name": "Valentin Kruglikov",
"email": "dev.n@bk.ru",
"url": "https://github.com/vkruglikov"
},
{
"name": "Pavel Belik",
"email": "razvanlomov@gmail.com",
"url": "https://github.com/Razzwan"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/altiore/twa/issues"
},
"homepage": "https://github.com/altiore/twa#readme",
"devDependencies": {
"@changesets/cli": "2.25.2",
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.2",
"@types/react": "18.2.37",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "6.1.0",
"@typescript-eslint/parser": "6.1.0",
"eslint": "8.45.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.2",
"jest": "29.6.1",
"jest-environment-jsdom": "29.6.1",
"lint-staged": "13.0.3",
"microbundle": "0.15.1",
"prettier": "2.8.0",
"react-test-renderer": "18.2.0",
"ts-jest": "29.1.1",
"typedoc": "0.24.8",
"typedoc-plugin-markdown": "3.15.3",
"typescript": "5.1.6"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"lint-staged": {
"src/*.(tsx|ts)": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}