-
Notifications
You must be signed in to change notification settings - Fork 92
/
package.json
112 lines (112 loc) · 3.51 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
{
"name": "vega-editor",
"homepage": "http://vega.github.io/editor",
"private": true,
"license": "BSD-3-Clause",
"type": "module",
"devDependencies": {
"@parcel/resolver-glob": "^2.12.0",
"@parcel/transformer-inline-string": "2.12.0",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"gh-pages": "^6.1.1",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"parcel": "^2.13.2",
"parcel-reporter-static-files-copy": "^1.5.3",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
},
"dependencies": {
"@monaco-editor/react": "^4.6.0",
"@reduxjs/toolkit": "^1.9.7",
"@tippyjs/react": "^4.2.6",
"@types/cytoscape": "^3.21.8",
"@types/d3": "^7.4.3",
"@types/react": "^17.0.44",
"@types/semver": "^7.5.8",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"cytoscape": "^3.30.2",
"cytoscape-popper": "^2.0.0",
"d3-array": "^3.2.4",
"d3-geo-projection": "^4.0.0",
"d3-scale": "^4.0.2",
"elkjs": "^0.9.3",
"history": "^5.3.0",
"json-stringify-pretty-compact": "^4.0.0",
"jsonc-parser": "^3.3.1",
"lz-string": "^1.5.0",
"monaco-editor": "^0.52.0",
"prettier2": "npm:prettier@^2.0.0",
"prop-types": "^15.8.1",
"rc-resize-observer": "^1.4.0",
"react": "^17.0.2",
"react-clipboard.js": "^2.0.16",
"react-dom": "^17.0.2",
"react-feather": "^2.0.10",
"react-paginate": "^8.2.0",
"react-portal": "^4.2.2",
"react-redux": "^8.1.3",
"react-router-dom": "^5.3.0",
"react-select": "^5.8.0",
"react-split-pane-r17": "^1.1.0",
"redux": "^4.2.1",
"redux-localstorage": "^0.4.1",
"redux-thunk": "^2.4.2",
"tippy.js": "^6.3.7",
"vega-cli": "5.30.0",
"tslib": "^2.7.0",
"vega-datasets": "^2.9.0",
"vega-lite": "5.21.0",
"vega-embed": "^6.26.0",
"vega-schema-url-parser": "^2.2.0",
"vega-themes": "^2.15.0",
"vega-tooltip": "^0.34.0",
"vega-typings": "^1.3.1",
"web-worker": "^1.3.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"git add"
],
"*.{js,jsx,ts,tsx,css,scss}": [
"prettier --write",
"git add"
]
},
"scripts": {
"start": "PARCEL_BUILD_COMMIT_HASH=$(git rev-parse HEAD) parcel --watch-dir .. index.html",
"build": "npm run clean && npm run vendor && npm run build:only",
"build:only": "PARCEL_BUILD_COMMIT_HASH=$(git rev-parse HEAD) parcel build --public-url /editor --no-scope-hoist index.html",
"clean": "rimraf dist public/spec public/data",
"postbuild": "rsync --ignore-existing -r public/* dist",
"generate-example-images": "scripts/generate-example-images.sh",
"vendor": "scripts/vendor.sh",
"prepare": "npm run vendor",
"prettierbase": "prettier '{src,public}/**/*.{css,html}'",
"format": "eslint . --fix && npm run prettierbase -- --write",
"lint": "eslint . && npm run prettierbase -- --check",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist",
"postinstall": "husky && npx patch-package"
},
"alias": {
"vega-lite/build/vega-lite-schema.json": "vega-lite/build/vega-lite-schema.json",
"vega-lite": "vega-lite/src/index.ts",
"buffer": false,
"process": false
},
"staticFiles": {
"staticPath": "public"
}
}