forked from vega/editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.5 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
{
"name": "vega-editor",
"version": "0.56.1",
"homepage": "http://vega.github.io/editor",
"private": true,
"devDependencies": {
"autoprefixer": "^9.7.4",
"css-loader": "^3.4.2",
"gh-pages": "^2.2.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.6",
"monaco-editor-webpack-plugin": "^1.8.2",
"postcss-loader": "^3.0.0",
"style-loader": "^1.1.3",
"ts-loader": "^6.2.1",
"typescript": "~3.7.5",
"vega-lite-dev-config": "^0.3.1",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"dependencies": {
"@types/d3": "^5.7.2",
"@types/react": "^16.9.19",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.3",
"ajv": "^6.11.0",
"d3-array": "^2.4.0",
"d3-geo-projection": "^2.8.1",
"d3-scale": "^3.2.1",
"file-loader": "^5.0.2",
"history": "^4.10.1",
"json-stringify-pretty-compact": "^2.0.0",
"lz-string": "^1.4.4",
"monaco-editor": "^0.19.3",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-clipboard.js": "^2.0.16",
"react-dom": "^16.12.0",
"react-feather": "^2.0.3",
"react-ga": "2.7.0",
"react-monaco-editor": "^0.33.0",
"react-paginate": "^6.3.2",
"react-portal": "^4.2.1",
"react-redux": "^7.1.3",
"react-router-dom": "^5.1.2",
"react-select": "^3.0.8",
"react-split-pane": "^0.1.89",
"react-tooltip": "^3.11.2",
"redux": "^4.0.5",
"redux-localstorage": "^0.4.1",
"redux-thunk": "^2.3.0",
"tslib": "^1.10.0",
"vega-cli": "5.9.1",
"vega-datasets": "^1.29.0",
"vega-embed": "^6.2.2",
"vega-lite": "4.0.2",
"vega-schema-url-parser": "^1.1.0",
"vega-themes": "^2.6.1",
"vega-tooltip": "^0.20.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"git add"
],
"*.{js,jsx,ts,tsx,css,scss}": [
"prettier --write",
"git add"
]
},
"beemo": {
"module": "vega-lite-dev-config",
"drivers": [
"prettier",
"eslint"
],
"eslint": {
"rules": {
"react/no-deprecated": "warn",
"react/no-string-refs": "warn",
"no-alert": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-var-requires": "off",
"react/no-find-dom-node": "warn",
"react/no-unescaped-entities": "off",
"@typescript-eslint/no-unused-vars": "warn",
"no-prototype-builtins": "warn"
}
}
},
"scripts": {
"start": "webpack-dev-server --mode development --hot",
"start:production": "webpack-dev-server --mode production",
"build": "yarn clean && yarn vendor && webpack --mode production --progress",
"clean": "rm -rf dist public/spec public/data",
"postbuild": "rsync -r --ignore-existing public/* dist",
"generate-example-images": "scripts/generate-example-images.sh",
"vendor": "scripts/vendor.sh",
"prepare": "yarn vendor && beemo create-config --react",
"prettierbase": "beemo prettier '{src,public}/**/*.{css,html}'",
"eslintbase": "beemo eslint 'src/**/*.{ts,tsx}' --react",
"format": "yarn eslintbase --fix && yarn prettierbase --write",
"lint": "yarn eslintbase && yarn prettierbase --check",
"predeploy": "yarn build",
"deploy": "gh-pages -d dist",
"analyze": "webpack --mode production --profile --json > stats.json && webpack-bundle-analyzer stats.json"
}
}