Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.46 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 4.46 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@gravity-ui/chartkit",
"version": "8.8.0",
"description": "React component used to render charts based on any sources you need",
"license": "MIT",
"repository": "git@github.com:gravity-ui/ChartKit.git",
"main": "build/index.js",
"types": "build/index.d.ts",
"exports": {
".": "./build/index.js",
"./gravity-charts": "./build/plugins/gravity-charts/index.js",
"./highcharts": "./build/plugins/highcharts/index.js",
"./indicator": "./build/plugins/indicator/index.js",
"./yagr": "./build/plugins/yagr/index.js"
},
"typesVersions": {
"*": {
"index.d.ts": [
"./build/index.d.ts"
],
"gravity-charts": [
"./build/plugins/gravity-charts/index.d.ts"
],
"highcharts": [
"./build/plugins/highcharts/index.d.ts"
],
"indicator": [
"./build/plugins/indicator/index.d.ts"
],
"yagr": [
"./build/plugins/yagr/index.d.ts"
]
}
},
"files": [
"build",
"!**/__tests__/**",
"!**/__stories__/**",
"!**/mocks/**"
],
"publishConfig": {
"access": "public"
},
"sideEffects": [
"*.css",
"*.scss"
],
"dependencies": {
"@bem-react/classname": "^1.6.0",
"@gravity-ui/charts": "^1.65.0",
"@gravity-ui/date-utils": "^2.1.0",
"@gravity-ui/i18n": "^1.0.0",
"@gravity-ui/yagr": "^5.0.0",
"afterframe": "^1.0.2",
"lodash": "^4.17.21",
"tslib": "^2.6.2"
},
"devDependencies": {
"@gravity-ui/eslint-config": "^4.2.1",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/readme-validator": "^1.3.0",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/uikit": "^7.4.0",
"@storybook/addon-docs": "^10.2.0",
"@storybook/addon-vitest": "^10.2.7",
"@storybook/react": "^10.2.0",
"@storybook/react-vite": "^10.2.0",
"@types/d3": "^7.4.0",
"@types/d3-selection": "^3.0.10",
"@types/lodash": "^4.14.177",
"@types/node": "^18.0.0",
"@types/react": "^19.2.16",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/browser-playwright": "^4.0.18",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"cross-env": "^7.0.3",
"d3": "^7.9.0",
"esbuild": "^0.25.0",
"eslint": "^9.39.4",
"eslint-plugin-storybook": "^10.2.16",
"globals": "^17.4.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-dart-sass": "^1.0.2",
"gulp-replace": "^1.1.3",
"gulp-typescript": "^5.0.1",
"highcharts": "^8.2.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.7",
"npm-run-all": "^4.1.5",
"playwright": "^1.58.2",
"prettier": "^3.2.5",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"rimraf": "^5.0.5",
"sass": "^1.56.2",
"storybook": "^10.2.0",
"stylelint": "^15.11.0",
"ts-node": "^10.2.1",
"typescript": "^5.8.3",
"vite": "^6.0.0",
"vitest": "^4.0.18",
"vitest-browser-react": "^2.0.5"
},
"peerDependencies": {
"@gravity-ui/uikit": "^7.0.0",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"scripts": {
"test": "vitest run --project unit",
"test:watch": "vitest --project unit",
"test:coverage": "vitest run --project unit --coverage",
"test:storybook": "vitest run --project storybook",
"test:unit": "vitest run --project unit",
"test:visual": "vitest run --project visual",
"test:docker": "./scripts/playwright-docker.sh npm run test:visual --",
"test:docker:update": "./scripts/playwright-docker.sh npm run test:visual -- --update",
"test:docker:clear-cache": "./scripts/playwright-docker.sh clear-cache",
"clean": "gulp clean",
"start": "storybook dev -p 7007",
"build": "gulp",
"build:docs": "gulp copy-docs",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:styles": "cross-env stylelint '{styles,src}/**/*.scss'",
"lint:styles:fix": "cross-env npm run lint:styles -- --fix",
"lint:prettier": "cross-env prettier --check '**/*.md'",
"lint:prettier:fix": "cross-env prettier --write '**/*.md'",
"lint": "run-p lint:*",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build",
"build-storybook": "storybook build -o storybook-static"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,scss}": [
"stylelint --fix --quiet",
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet",
"prettier --write"
]
}
}