forked from vega/react-vega
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
136 lines (136 loc) · 3.77 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "react-vega-monorepo",
"version": "0.0.0",
"description": "Home of react-vega",
"author": "Krist Wongsuphasawat <[email protected]> (http://kristw.yellowpigz.com)",
"keywords": [],
"repository": "[email protected]: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:dts",
"babel": "yarn babel:cjs && yarn babel:esm",
"babel:cjs": "nimbus babel --clean --workspaces=\"(react-vega)\"",
"babel:esm": "nimbus babel --clean --workspaces=\"(react-vega)\" --esm",
"clean": "rm -rf ./packages/**/{lib,esm}",
"commit": "superset-commit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 20",
"format": "yarn prettier --write",
"jest": "NODE_ENV=test nimbus jest --coverage --verbose",
"lint": "nimbus eslint",
"lint:fix": "yarn lint --fix",
"prettier": "nimbus prettier",
"test": "yarn jest",
"test:watch": "yarn lint:fix && yarn jest --watch",
"type:dts": "nimbus typescript --build --reference-workspaces",
"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"
},
"devDependencies": {
"@airbnb/config-babel": "^2.2.2",
"@airbnb/config-eslint": "^2.5.1",
"@airbnb/config-jest": "^2.2.2",
"@airbnb/config-prettier": "^2.1.1",
"@airbnb/config-typescript": "^2.2.2",
"@airbnb/nimbus": "^2.2.3",
"@babel/runtime-corejs3": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@superset-ui/commit-config": "^0.0.9",
"@types/enzyme": "^3.10.4",
"@types/jest": "^25.1.0",
"@types/jsdom": "^12.2.4",
"@types/react-test-renderer": "^16.9.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.3",
"fast-glob": "^3.1.1",
"fs-extra": "^8.1.0",
"husky": "^4.2.1",
"lerna": "^3.20.2",
"lint-staged": "^10.0.3",
"react-test-renderer": "^16.12.0",
"react-dom": "^16.12.0",
"react": "^16.12.0"
},
"engines": {
"node": ">=10.10.0",
"npm": ">=6.8.0",
"yarn": ">=1.13.0"
},
"workspaces": [
"./packages/*"
],
"nimbus": {
"drivers": [
"babel",
"eslint",
"jest",
"prettier",
"typescript"
],
"settings": {
"library": true,
"react": true,
"next": true,
"env": {
"corejs": 3,
"useBuiltIns": "usage"
}
},
"babel": {
"plugins": [["@babel/plugin-transform-runtime", { "corejs": 3 }]]
},
"jest": {
"timers": "real",
"setupFilesAfterEnv": [
"@airbnb/config-jest/enzyme"
],
"coverageThreshold": {
"global": {
"branches": 5,
"functions": 5,
"lines": 5,
"statements": 5
}
}
},
"eslint": {
"overrides": [
{
"files": "*.{js,jsx,ts,tsx}",
"rules": {
"@typescript-eslint/no-explicit-any": ["warn", { "fixToUnknown": false }]
}
}
]
},
"typescript": {
"compilerOptions": {
"emitDeclarationOnly": true
},
"include": [
"./storybook/**/*"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"./packages/*/{src,test,storybook}/**/*.{js,jsx,ts,tsx,json,md}": [
"yarn prettier --write",
"git add"
]
}
}