/
package.json
149 lines (149 loc) · 4.15 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
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
{
"name": "@gravity-ui/chartkit",
"version": "5.6.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",
"./d3": "./build/plugins/d3/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"
],
"d3": [
"./build/plugins/d3/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/date-utils": "^2.1.0",
"@gravity-ui/i18n": "^1.0.0",
"@gravity-ui/yagr": "^4.3.0",
"afterframe": "^1.0.2",
"d3": "^7.8.5",
"lodash": "^4.17.21",
"react-split-pane": "^0.1.92",
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/preset-env": "^7.22.6",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@gravity-ui/eslint-config": "^3.1.1",
"@gravity-ui/prettier-config": "^1.1.0",
"@gravity-ui/stylelint-config": "^4.0.1",
"@gravity-ui/tsconfig": "^1.0.0",
"@gravity-ui/uikit": "^6.0.0",
"@jest/types": "^29.6.3",
"@playwright/experimental-ct-react17": "^1.41.1",
"@storybook/addon-actions": "^7.6.14",
"@storybook/addon-essentials": "^7.0.26",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/cli": "^7.0.26",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^7.0.26",
"@storybook/react-webpack5": "^7.0.26",
"@types/d3": "^7.4.0",
"@types/d3-selection": "^3.0.10",
"@types/jest": "^28.1.3",
"@types/lodash": "^4.14.177",
"@types/node": "^18.0.0",
"@types/react": "^17.0.48",
"@types/react-dom": "^17.0.17",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"eslint": "^8.56.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",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^10.2.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"react": "^17.0.2",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^17.0.2",
"rimraf": "^5.0.5",
"sass": "^1.56.2",
"sass-loader": "^10.2.1",
"storybook": "^7.0.26",
"style-loader": "^2.0.0",
"stylelint": "^15.11.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.2.1",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@gravity-ui/uikit": "^6.0.0",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watchAll",
"clean": "gulp clean",
"start": "storybook dev -p 7007",
"build": "gulp",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:js:fix": "npm run lint:js -- --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",
"test:playwright": "playwright test -c tests/playwright.config.ts"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,scss}": [
"stylelint --fix --quiet",
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix --quiet",
"prettier --write"
]
}
}