-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
122 lines (122 loc) · 3.45 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@vkontakte/vkjs",
"version": "2.0.1",
"description": "VK shared JS libs",
"type": "module",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"directories": {
"lib": "lib"
},
"files": [
"lib",
"src",
"build"
],
"scripts": {
"clear": "shx rm -rf lib",
"prepare": "yarn build",
"build": "yarn clear && concurrently 'yarn:build:*'",
"test": "jest",
"lint": "concurrently 'yarn:lint:*'",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint ./src --ext .ts --fix",
"prepublishOnly": "yarn build",
"publish-package": "yarn install --check-files && yarn publish --non-interactive",
"swc-base": "swc src/ --config-file package.swcrc --strip-leading-paths",
"build:es6": "yarn swc-base -d lib",
"build:types": "cross-env NODE_ENV=production tsc --project tsconfig.build.json",
"size": "yarn build && size-limit",
"docs": "typedoc"
},
"pre-commit": [
"test",
"lint"
],
"size-limit": [
{
"name": "JS",
"path": "lib/index.js",
"import": "*"
},
{
"name": "JS ES6 with querystring only import (tree shaking)",
"path": "lib/index.js",
"import": "{ querystring }"
},
{
"name": "JS ES6 with leadingZero only import (tree shaking)",
"path": "lib/index.js",
"import": "{ leadingZero }"
},
{
"name": "JS ES6 with decodeHTMLEntities only import (tree shaking)",
"path": "lib/index.js",
"import": "{ decodeHTMLEntities }"
},
{
"name": "JS ES6 with decodeHTMLFullEntities only import (tree shaking)",
"path": "lib/index.js",
"import": "{ decodeHTMLFullEntities }"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/VKCOM/vkjs.git"
},
"author": "VK Team <https://vk.com/team>",
"license": "MIT",
"bugs": {
"url": "https://github.com/VKCOM/vkjs/issues"
},
"homepage": "https://github.com/VKCOM/vkjs#readme",
"devDependencies": {
"@jest/globals": "^29.4.2",
"@size-limit/file": "^11.0.2",
"@size-limit/webpack": "^11.0.2",
"@swc/cli": "^0.5.0",
"@swc/core": "^1.3.49",
"@swc/jest": "^0.2.24",
"@types/node": "^22.5.5",
"@types/react": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@vkontakte/eslint-plugin": "^1.1.1",
"@vkontakte/prettier-config": "^0.2.1",
"concurrently": "^9.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"pre-commit": "1.2.2",
"prettier": "^3.0.2",
"react": "^18.2.0",
"shx": "^0.3.2",
"size-limit": "^11.0.0",
"ts-node": "^10.9.2",
"typedoc": "^0.27.2",
"typedoc-plugin-mdn-links": "^4.0.1",
"typescript": "^5.1.3"
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0"
},
"dependencies": {
"@swc/helpers": "^0.5.0",
"clsx": "^2.1.1"
},
"prettier": "@vkontakte/prettier-config",
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}