-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
122 lines (122 loc) · 3.26 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": "@gravity-ui/yagr",
"version": "4.5.0",
"description": "High level wrapper for uPlot",
"keywords": [
"canvas",
"chart",
"graph",
"plot",
"visualization"
],
"main": "./dist/index.js",
"module": "./dist/yagr.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"typings"
],
"authors": [
"Trdat Mkrtchian <[email protected]>",
"Artem Luchin <[email protected]>"
],
"repository": "[email protected]:gravity-ui/yagr.git",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"exports": {
".": "./dist/index.js",
"./labels": "./dist/plugins/labels/labels.js",
"./aggregates": "./dist/plugins/aggregates/aggregates.js",
"./weekends": "./dist/plugins/weekends/weekends.js",
"./react": "./dist/react.js",
"./dist/*": "./dist/*",
"./dist/index.css": {
"import": "./dist/index.css",
"require": "./dist/index.css"
}
},
"typesVersions": {
"*": {
"index.d.ts": [
"./dist/index.d.ts"
],
"aggregates": [
"./dist/plugins/aggregates/aggregates.d.ts"
],
"labels": [
"./dist/plugins/labels/labels.d.ts"
],
"weekends": [
"./dist/plugins/weekends/weekends.d.ts"
],
"react": [
"./dist/react.d.ts"
],
"types": [
"./dist/types.d.ts"
]
}
},
"scripts": {
"test": "TZ=UTC jest --coverage",
"lint": "eslint src tests --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc -p tsconfig.json",
"prebuild": "rimraf dist",
"copy:scss": "copyfiles -u 1 \"./src/**/*.scss\" dist",
"build:tsc": "tsc -p tsconfig.json && npm run copy:scss",
"build:main": "npm run prebuild && npm run build:tsc && node esbuild.js --main",
"build:plugins": "npm run prebuild && npm run build:tsc && node esbuild.js --plugins",
"build:examples": "node esbuild.js --examples",
"build": "npm run prebuild && npm run build:tsc && node esbuild.js",
"start": "npm run build && node esbuild.js --dev",
"precommit": "lint-staged",
"docs": "yfm -i ./docs -o ./dist/docs --allowHTML",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"./{src}/**/*.{ts, tsx, js, jsx}": [
"eslint --quiet"
]
},
"devDependencies": {
"@babel/preset-react": "^7.22.5",
"@doc-tools/docs": "^1.13.1",
"@types/jest": "^26.0.24",
"@types/node": "^10.11.0",
"@types/react": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"babel-eslint": "^10.1.0",
"copyfiles": "^2.4.1",
"esbuild": "^0.18.3",
"esbuild-plugin-umd-wrapper": "^1.0.7",
"esbuild-sass-plugin": "^2.9.0",
"eslint": "^7.21.0",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-react": "^7.23.1",
"husky": "^1.0.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^8.0.0",
"monaco-editor": "^0.23.0",
"node-sass": "^7.0.1",
"prettier": "^2.3.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^2.6.2",
"ts-jest": "^29.1.0",
"ts-node": "^10.2.1",
"typescript": "^4.2.3"
},
"dependencies": {
"uplot": "1.6.31"
}
}