forked from VKCOM/vkui-tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 4.38 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
{
"name": "@vkontakte/vkui-tokens",
"version": "4.45.0",
"description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
"license": "MIT",
"homepage": "https://vkcom.github.io/vkui-tokens",
"main": "utils/descriptions.js",
"scripts": {
"build": "mkdir -p dist && npm run build:script && npm run tsc:generate-paths && npm run tsc:dist",
"build:local": "npm run build && npm run clear:dist",
"prepublishOnly": "echo 'ПРЕДУПРЕЖДЕНИЕ: Публиковать из root этот пакет нельзя: выполните команду \\033[1;32m\"npm run publish:dist\"' && exit 1",
"prepublish:dist": "npm run clear:src && npm run build",
"publish:dist": "npm run prepublish:dist && cd dist && npm publish --access=public",
"publish:dev": "npm run prepublish:dist && cd dist && npm publish --tag=dev --access=public",
"publish:latest": "npm run prepublish:dist && cd dist && npm publish --tag=latest --access=public",
"build:script": "ts-node -r tsconfig-paths/register src/build/index.ts",
"lint": "TIMING=1 eslint ./src --ext .ts",
"lint:fix": "npm run lint -- --fix",
"tsc": "tsc --project tsconfig.json",
"tsc:dist": "tsc --project tsconfig.publish.json",
"tsc:generate-paths": "tscpaths -p tsconfig.tscpaths.json -s ./dist -o ./dist",
"test": "jest --coverage",
"test:ci": "jest --coverage --verbose --reporters=\"jest-junit\" --reporters=\"default\"",
"clear:src": "find src -name '*.d.ts' -delete && find src -name '*.js' -delete",
"clear:dist": "find dist -regex '.*[^d]\\.ts' -delete",
"open:coverage": "open .coverage/index.html",
"styleguide": "sh ./tasks/styleguide.sh",
"docs:dev": "cd docs/webpack && webpack-dev-server --config webpack.client.js --mode development",
"docs:build": "cd docs/webpack && webpack --config webpack.client.js --mode production",
"docs:prepare-data": "ts-node tasks/docs/prepareTokensData.ts",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint"
],
"*.{json,md}": [
"prettier --write"
]
},
"repository": "https://github.com/VKCOM/vkui-tokens.git",
"dependencies": {
"csstype": "^3.1.1"
},
"devDependencies": {
"@babel/core": "7.24.4",
"@svgr/webpack": "8.1.0",
"@types/color": "3.0.6",
"@types/common-tags": "1.8.4",
"@types/fs-extra": "11.0.4",
"@types/lodash": "4.17.0",
"@types/node": "18.11.10",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
"@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v10.2.0",
"@vkontakte/icons": "2.108.0",
"@vkontakte/prettier-config": "0.1.0",
"@vkontakte/vk-bridge": "2.14.1",
"@vkontakte/vkjs": "1.1.2",
"@vkontakte/vkui": "6.0.2",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"clean-webpack-plugin": "4.0.0",
"clsx": "2.1.0",
"color": "4.2.3",
"common-tags": "1.8.2",
"copy-webpack-plugin": "12.0.2",
"css-loader": "7.1.1",
"css.escape": "1.5.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jasmine": "4.1.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-simple-import-sort": "12.0.0",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"fs-extra": "11.2.0",
"html-webpack-plugin": "5.6.0",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.2.2",
"lodash": "4.17.21",
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "5.0.5",
"style-loader": "4.0.0",
"terser-webpack-plugin": "5.3.10",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"ts-morph": "20.0.0",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"tscpaths": "0.0.9",
"type-fest": "4.16.0",
"typescript": "5.2.2",
"typescript-eslint": "7.0.1",
"webpack": "5.91.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4",
"webpack-notifier": "1.15.0"
},
"engines": {
"npm": ">=9.3.1",
"yarn": ">=1.21.1 <2"
}
}