-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
192 lines (192 loc) · 5.47 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "encodable-monorepo",
"version": "0.0.0",
"description": "monorepo that contains encodable",
"private": true,
"scripts": {
"postpublish": "git push; git push --tags",
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" yarn babel && yarn type && yarn build:assets",
"babel": "yarn babel:cjs && yarn babel:esm",
"babel:cjs": "nimbus babel --clean --workspaces=\"(encodable|@encodable/*)\"",
"babel:esm": "nimbus babel --clean --workspaces=\"(encodable|@encodable/*)\" --esm",
"build:assets": "node ./scripts/buildAssets.js",
"clean": "rm -rf ./packages/**/{lib,esm}",
"commit": "superset-commit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"format": "yarn prettier --write",
"jest": "NODE_ENV=test nimbus jest --coverage --verbose",
"lint": "NODE_OPTIONS=\"--max-old-space-size=8192\" nimbus eslint",
"lint:fix": "yarn lint --fix",
"prettier": "nimbus prettier",
"test": "NODE_OPTIONS=\"--max-old-space-size=8192\" yarn jest",
"test:watch": "yarn lint:fix && yarn jest --watch",
"type": "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/encodable-demo && yarn storybook",
"docs:clean": "cd packages/docs && rm -rf .docz",
"docs:dev": "cd packages/docs && yarn dev",
"docs:build": "cd packages/docs && yarn build",
"docs:serve": "cd packages/docs && yarn serve",
"bump-version": "lerna version",
"bump-version-force": "lerna version --force-publish",
"bump-version-auto": "lerna version --conventional-commits",
"bump-patch-version": "lerna version patch --yes",
"bump-minor-version": "lerna version minor --yes",
"bump-major-version": "lerna version major --yes",
"ci:release-from-package": "lerna publish from-package --yes"
},
"repository": "https://github.com/kristw/encodable.git",
"keywords": [
"data",
"analytics",
"analysis",
"visualization"
],
"license": "Apache-2.0",
"devDependencies": {
"@airbnb/config-babel": "^3.1.0",
"@airbnb/config-eslint": "^3.1.0",
"@airbnb/config-jest": "^3.0.2",
"@airbnb/config-prettier": "^3.1.0",
"@airbnb/config-typescript": "^3.0.1",
"@airbnb/nimbus": "^3.1.4",
"@superset-ui/commit-config": "^0.0.9",
"@types/enzyme": "^3.10.4",
"@types/jest": "^26.0.10",
"@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": "^9.0.0",
"global-box": "^1.2.0",
"husky": "^4.2.1",
"lerna": "^3.20.2",
"lint-staged": "^10.0.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"typescript": "^3.9.7"
},
"engines": {
"node": ">=10.10.0",
"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"
],
"nimbus": {
"drivers": [
"babel",
"eslint",
"jest",
"prettier",
"typescript"
],
"settings": {
"library": true,
"react": true,
"next": true,
"env": {
"targets": false
}
},
"jest": {
"timers": "real",
"setupFilesAfterEnv": [
"@airbnb/config-jest/enzyme"
],
"transformIgnorePatterns": [
"node_modules/(?!(vega-lite|lodash-es))"
],
"testPathIgnorePatterns": [
"packages/docs",
"packages/generator-encodable/generators"
],
"coveragePathIgnorePatterns": [
"packages/docs",
"packages/generator-encodable/generators"
],
"projects": [
"<rootDir>",
{
"displayName": "node",
"rootDir": "<rootDir>/packages/generator-encodable",
"testMatch": [
"<rootDir>/test/**/?(*.)+(spec|test).{js,jsx,ts,tsx}"
],
"testEnvironment": "node"
}
]
},
"prettier": {
"arrowParens": "avoid"
},
"eslint": {
"rules": {
"arrow-parens": [
"warn",
"as-needed"
]
},
"overrides": [
{
"files": "./packages/generator-encodable/**/*.test.{js,jsx,ts,tsx}",
"rules": {
"jest/expect-expect": "off"
}
},
{
"files": "*.{js,jsx,ts,tsx}",
"rules": {
"react/jsx-no-literals": "off",
"@typescript-eslint/no-explicit-any": [
"warn",
{
"fixToUnknown": false
}
]
}
},
{
"files": "packages/docs/src/**/*.{js,jsx,ts,tsx}",
"rules": {
"react/require-default-props": "off"
}
}
]
},
"babel": {
"plugins": [
[
"@babel/plugin-proposal-private-methods",
{
"loose": false
}
]
]
},
"typescript": {
"compilerOptions": {
"emitDeclarationOnly": true
}
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}