-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathpackage.json
86 lines (86 loc) · 2.53 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
{
"name": "@vkruglikov/react-telegram-web-app",
"version": "2.2.0",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vkruglikov/react-telegram-web-app.git"
},
"publishConfig": {
"access": "public"
},
"author": "Valentin Kruglikov dev.n@bk.ru",
"license": "MIT",
"bugs": {
"url": "https://github.com/vkruglikov/react-telegram-web-app/issues"
},
"homepage": "https://github.com/vkruglikov/react-telegram-web-app#readme",
"devDependencies": {
"@changesets/cli": "^2.25.2",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.2",
"@types/react": "^18",
"@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": {
"*.(tsx|ts)": [
"eslint",
"prettier --write"
],
"*.md": [
"prettier --write"
]
}
}