-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
97 lines (97 loc) · 3.63 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
{
"name": "amazing-react-charts",
"version": "1.2.1",
"description": "An amazing react charts package based in echarts",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nginformatica/amazing-react-charts.git"
},
"scripts": {
"start": "sb dev -p 6006",
"clean": "rm -rf ./dist",
"copy:package": "cp package.json dist/",
"publish:yalc": "cd dist/ && yalc publish && cd ..",
"build": "yarn clean && yarn build:ts && yarn build:babel",
"build:link": "yarn build && yarn copy:package && yarn publish:yalc",
"build:ts": "tsc --emitDeclarationOnly",
"build:babel": "babel src --out-dir dist --extensions '.ts,.tsx' --ignore '**/*.stories.tsx' --ignore 'src/test/**'",
"docs:build": "storybook build -o docs",
"pre-publish": "yarn lint:fix && yarn type-check",
"release": "yarn build && node pre-publish.js && npm publish ./dist --access public",
"type-check": "tsc --noEmit",
"format": "prettier -w 'src/**/*.{ts,tsx}'",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:quiet": "eslint . --quiet",
"pre-test": "node checkTestFiles.js",
"test": "NODE_ENV=test jest --no-cache --verbose --passWithNoTests --noStackTrace --runInBand --updateSnapshot"
},
"dependencies": {
"echarts": "5.5.1",
"echarts-for-react": "3.0.2"
},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/plugin-transform-modules-commonjs": "7.26.3",
"@babel/plugin-transform-runtime": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-webpack5-compiler-babel": "3.0.5",
"@storybook/blocks": "8.4.7",
"@storybook/react": "8.4.7",
"@storybook/react-webpack5": "8.4.7",
"@stylistic/eslint-plugin": "2.12.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.14",
"@types/node": "22.10.5",
"@types/ramda": "0.30.2",
"@types/react": "18.3.12",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"canvas": "2.11.2",
"date-fns": "4.1.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-react-hooks": "5.1.0",
"flipper-ui": "0.35.4",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"prettier": "3.4.2",
"ramda": "0.30.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"storybook": "8.4.7",
"styled-components": "6.1.14",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.3",
"typescript-eslint": "8.19.1",
"webpack": "5.97.1"
},
"peerDependencies": {
"date-fns": "^4.0.0",
"flipper-ui": "^0.35.1",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"styled-components": "^5.0.0 || ^6.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"ignore": [
"!dist/",
"!/node_modules/"
]
}
}