-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
112 lines (112 loc) · 4.29 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": "react-vega-monorepo",
"version": "0.0.0",
"description": "Home of react-vega",
"author": "Krist Wongsuphasawat <krist.wongz@gmail.com> (http://kristw.yellowpigz.com)",
"keywords": [],
"repository": "git@github.com:vega/react-vega.git",
"bugs": {
"url": "https://github.com/vega/react-vega/issues"
},
"private": true,
"license": "Apache-2.0",
"scripts": {
"postpublish": "git push; git push --tags",
"build": "yarn babel && yarn type",
"babel": "yarn babel:cjs && yarn babel:esm",
"babel:cjs": "lerna exec --stream --concurrency 10 --scope 'react-vega' -- babel --config-file='../../babel.config.js' src --extensions '.ts,.tsx,.js,.jsx' --copy-files --out-dir lib",
"babel:esm": "BABEL_OUTPUT=esm lerna exec --stream --concurrency 10 --scope 'react-vega' -- babel --config-file='../../babel.config.js' src --extensions '.ts,.tsx,.js,.jsx' --copy-files --out-dir esm",
"clean": "rm -rf ./packages/**/{lib,esm,tsconfig.tsbuildinfo}",
"commit": "superset-commit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 20",
"format": "yarn prettier",
"jest": "NODE_ENV=test jest --coverage --verbose",
"lint": "eslint --ignore-path=.eslintignore --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx,.ts,.tsx .",
"prettier": "prettier --write './packages/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'",
"test": "yarn jest",
"test:watch": "yarn lint:fix && yarn jest --watch",
"type": "lerna exec --stream --concurrency 3 --scope 'react-vega' -- ../../scripts/tsc.sh --build",
"prepare-release": "git checkout master && git pull --rebase origin master && yarn && yarn test",
"prerelease": "yarn build",
"pretest": "yarn lint",
"release": "yarn prepare-release && lerna publish --exact && yarn postrelease",
"postrelease": "lerna run deploy-demo",
"storybook": "cd packages/react-vega-demo && yarn storybook",
"prepare": "husky install"
},
"devDependencies": {
"@babel/cli": "^7.11.5",
"@babel/compat-data": "^7.9.6",
"@babel/core": "^7.8.7",
"@babel/eslint-parser": "^7.16.0",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.8.6",
"@superset-ui/commit-config": "^0.0.9",
"@testing-library/react": "^13.3.0",
"@types/jest": "^27.4.1",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"babel-jest": "^27.5.1",
"babel-plugin-transform-dev": "^2.0.1",
"babel-plugin-typescript-to-proptypes": "^2.0.0",
"canvas": "^2.9.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.1.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-import-resolver-webpack": "^0.13.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^26.1.3",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-testing-library": "^5.2.1",
"eslint-plugin-unicorn": "^40.1.0",
"husky": "^7.0.0",
"jest": "^27.5.1",
"lerna": "^3.20.2",
"lint-staged": "^13.0.0",
"prettier": "^2.4.1",
"react": "^18",
"react-dom": "^18",
"typescript": "^4.6.3",
"vega": "^5.10.0",
"vega-lite": "^5.2.0",
"webpack": "^4.42.0"
},
"engines": {
"node": ">=16",
"npm": ">=6.8.0",
"yarn": ">=1.13.0"
},
"workspaces": [
"./packages/*"
],
"browserslist": [
"last 3 chrome versions",
"last 3 firefox versions",
"last 3 safari versions",
"last 3 edge versions"
],
"lint-staged": {
"./packages/*/{src,test,storybook}/**/*.{js,jsx,ts,tsx,json,md}": [
"yarn prettier",
"git add"
]
}
}