-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.04 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 3.04 KB
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
{
"name": "@vkontakte/vkjs",
"version": "2.0.2",
"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": "node --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info --test '**/*.test.*'",
"lint": "concurrently 'yarn:lint:*'",
"lint:tsc": "tsc --noEmit",
"lint:biome": "biome check",
"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": {
"@biomejs/biome": "^2.4.7",
"@size-limit/file": "^12.0.1",
"@size-limit/webpack": "^12.0.1",
"@swc/cli": "^0.8.0",
"@swc/core": "^1.15.18",
"@swc/plugin-transform-imports": "^12.7.0",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"concurrently": "^9.0.0",
"cross-env": "^10.1.0",
"global-jsdom": "^28.0.0",
"jsdom": "^28.1.0",
"pre-commit": "1.2.2",
"react": "^19.2.4",
"shx": "^0.4.0",
"size-limit": "^12.0.1",
"ts-node": "^10.9.2",
"typedoc": "^0.28.17",
"typedoc-plugin-mdn-links": "^5.1.1",
"typescript": "^5.8.3"
},
"dependencies": {
"@swc/helpers": "^0.5.19",
"clsx": "^2.1.1"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}