-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) · 2.54 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
{
"name": "echarts-jsx",
"version": "1.2.1",
"license": "LGPL-3.0",
"author": "shiy2008@gmail.com",
"description": "A real JSX wrapper for ECharts based on TypeScript & Web components",
"keywords": [
"jsx",
"tsx",
"wrapper",
"echarts",
"chart",
"typescript",
"web-components",
"custom-elements"
],
"homepage": "https://idea2app.github.io/ECharts-JSX/",
"repository": {
"type": "git",
"url": "git+https://github.com/idea2app/ECharts-JSX.git"
},
"bugs": {
"url": "https://github.com/idea2app/ECharts-JSX/issues"
},
"source": "source/index.ts",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "dist/index.umd.js",
"dependencies": {
"dom-renderer": "^2.3.0",
"echarts": ">=5",
"iterable-observer": "^1.0.1",
"lodash": "^4.17.21",
"web-streams-polyfill": "^4.0.0",
"web-utility": "^4.4.0"
},
"peerDependencies": {
"@webcomponents/webcomponentsjs": "^2.8"
},
"devDependencies": {
"@types/lodash": "^4.17.7",
"buffer": "^6.0.3",
"esbuild": "^0.23.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"open-cli": "^8.0.0",
"parcel": "~2.12.0",
"prettier": "^3.3.3",
"rimraf": "^5.0.9",
"typedoc": "^0.26.5",
"typedoc-plugin-mdn-links": "^3.2.6",
"typescript": "~5.5.4"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{md,json,yml,ts,tsx}": "prettier --write"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
"prepare": "husky",
"test": "lint-staged",
"clean": "rimraf .parcel-cache/ dist/ docs/",
"preview": "npm run clean && cd preview/ && parcel --dist-dir=../docs/preview/",
"pack-preview": "rimraf .parcel-cache/ docs/preview/ && cd preview/ && parcel build --public-url=. --dist-dir=../docs/preview/",
"pack-dist": "rm -rf dist/ && tsc && esbuild source/index.ts --target=edge18 --bundle --packages=external --minify --sourcemap --outfile=dist/index.umd.js",
"pack-docs": "rm -rf docs/ && typedoc source/",
"build": "npm run pack-dist && npm run pack-docs && npm run pack-preview",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
}
}