mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
159 lines
4.5 KiB
JSON
159 lines
4.5 KiB
JSON
{
|
|
"name": "@superset-ui/plugins-deckgl-monorepo",
|
|
"version": "0.0.0-master",
|
|
"description": "Superset UI Plugins - deck.gl",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "yarn babel && yarn type && yarn build:assets",
|
|
"babel": "yarn babel:cjs && yarn babel:esm",
|
|
"babel:cjs": "nimbus babel --clean --workspaces=\"@superset-ui/!(plugins-demo)\"",
|
|
"babel:esm": "nimbus babel --clean --workspaces=\"@superset-ui/!(plugins-demo)\" --esm",
|
|
"build:assets": "node ./scripts/buildAssets.js",
|
|
"clean": "rm -rf ./packages/**/{lib,esm}",
|
|
"clean-tsc": "rm -rf ./packages/**/tsconfig.tsbuildinfo",
|
|
"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": "nimbus eslint && nimbus prettier --check",
|
|
"lint:fix": "nimbus eslint --fix",
|
|
"prettier": "nimbus prettier",
|
|
"test": "yarn type",
|
|
"test:watch": "yarn lint:fix && yarn jest --watch",
|
|
"type": "nimbus typescript --build --reference-workspaces",
|
|
"prepare-release": "git checkout master && git pull --rebase origin master && lerna bootstrap && yarn install && yarn test",
|
|
"prerelease": "yarn build",
|
|
"pretest": "yarn lint",
|
|
"release-patch-version": "yarn prepare-release && lerna version patch && lerna publish --exact && yarn postrelease",
|
|
"release-minor-version": "yarn prepare-release && lerna version minor && lerna publish --exact && yarn postrelease",
|
|
"release": "yarn prepare-release && lerna publish --exact && yarn postrelease",
|
|
"postrelease": "lerna run deploy-demo",
|
|
"storybook": "cd packages/superset-ui-plugins-demo && yarn storybook"
|
|
},
|
|
"repository": "https://github.com/apache-superset/superset-ui-plugins-deckgl.git",
|
|
"keywords": [
|
|
"apache",
|
|
"superset",
|
|
"data",
|
|
"analytics",
|
|
"analysis",
|
|
"visualization",
|
|
"react",
|
|
"d3"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@airbnb/config-babel": "^2.1.3",
|
|
"@airbnb/config-eslint": "^2.1.3",
|
|
"@airbnb/config-jest": "^2.1.3",
|
|
"@airbnb/config-prettier": "^2.0.4",
|
|
"@airbnb/config-typescript": "^2.1.2",
|
|
"@airbnb/nimbus": "^2.1.3",
|
|
"@superset-ui/commit-config": "^0.0.9",
|
|
"@superset-ui/chart-controls": "0.x.x",
|
|
"@superset-ui/core": "0.x.x",
|
|
"@types/enzyme": "^3.10.5",
|
|
"@types/jest": "^25.1.1",
|
|
"@types/jsdom": "^12.2.4",
|
|
"@types/react": "^16.9.49",
|
|
"@types/react-test-renderer": "^16.9.0",
|
|
"csstype": "^2.6.3",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
"enzyme-to-json": "^3.4.3",
|
|
"fast-glob": "^3.0.1",
|
|
"fs-extra": "^8.0.1",
|
|
"husky": "^4.2.1",
|
|
"jest-mock-console": "^1.0.0",
|
|
"lerna": "^3.15.0",
|
|
"lint-staged": "^10.0.7",
|
|
"luma.gl": "^7.3.2",
|
|
"react-test-renderer": "^16.9.0",
|
|
"react-dom": "^16.9.0",
|
|
"react": "^16.9.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.15.5",
|
|
"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"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 0,
|
|
"functions": 0,
|
|
"lines": 0,
|
|
"statements": 0
|
|
}
|
|
}
|
|
},
|
|
"eslint": {
|
|
"overrides": [
|
|
{
|
|
"files": "*.{js,jsx,ts,tsx}",
|
|
"rules": {
|
|
"react/jsx-no-literals": "off",
|
|
"prefer-exponentiation-operator": "off",
|
|
"@typescript-eslint/no-explicit-any": [
|
|
"warn",
|
|
{
|
|
"fixToUnknown": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"typescript": {
|
|
"compilerOptions": {
|
|
"emitDeclarationOnly": true,
|
|
"skipLibCheck": true,
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|