mirror of https://github.com/apache/superset.git
168 lines
6.1 KiB
JSON
168 lines
6.1 KiB
JSON
{
|
|
"name": "@superset-ui/monorepo",
|
|
"version": "0.0.0",
|
|
"description": "Superset UI",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node ./scripts/build.js",
|
|
"build:assets": "node ./scripts/copyAssets.js",
|
|
"babel": "npm run build --no-type",
|
|
"demo": "cd packages/superset-ui-demo && npm run demo:build",
|
|
"demo:clean": "cd packages/superset-ui-demo && npm run demo:clean",
|
|
"demo:build": "cd packages/superset-ui-demo && npm run demo:build",
|
|
"storybook": "cd packages/superset-ui-demo && npm run storybook",
|
|
"build-storybook": "cd packages/superset-ui-demo && npm run build-storybook",
|
|
"chromatic": "cd packages/superset-ui-demo && npm run chromatic",
|
|
"sb": "npm run storybook",
|
|
"clean": "npm run build --clean --no-babel --no-type",
|
|
"commit": "superset-commit",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 10",
|
|
"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 .",
|
|
"format": "npm run prettier",
|
|
"prettier": "prettier --write './{plugins,packages}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'",
|
|
"test": "npm run jest",
|
|
"test:watch": "npm run lint:fix && npm run jest --watch",
|
|
"type": "npm run build --no-babel",
|
|
"prepare-release": "git checkout master && git pull --rebase origin master && npm run install && npm run test",
|
|
"prerelease": "npm run build",
|
|
"release": "npm run prepare-release && lerna publish && npm run postrelease",
|
|
"postrelease": "lerna run deploy-demo",
|
|
"list-changed-packages": "lerna changed",
|
|
"manual-release": "lerna publish --force-publish && npm run postrelease",
|
|
"clean-npm-lock": "rm -rf ./{packages,plugins}/*/package-lock.json",
|
|
"prune": "rm -rf ./{packages,plugins}/*/{lib,esm,tsconfig.tsbuildinfo}",
|
|
"ci:create-patch-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh patch",
|
|
"ci:create-minor-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh minor",
|
|
"ci:create-conventional-version": "npm run clean-npm-lock && ./scripts/lernaVersion.sh '--conventional-commits --create-release github'",
|
|
"ci:release-from-tag": "npm run clean-npm-lock && lerna publish from-package --yes",
|
|
"ci:release-conventional": "npm run clean-npm-lock && lerna publish --conventional-commits --create-release github --yes"
|
|
},
|
|
"repository": "https://github.com/apache-superset/superset-ui.git",
|
|
"keywords": [
|
|
"apache",
|
|
"superset",
|
|
"data",
|
|
"analytics",
|
|
"analysis",
|
|
"visualization",
|
|
"react",
|
|
"d3",
|
|
"data-ui",
|
|
"vx"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@airbnb/config-babel": "^3.1.0",
|
|
"@airbnb/config-jest": "^3.0.2",
|
|
"@airbnb/config-webpack": "^3.3.1",
|
|
"@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",
|
|
"@emotion/babel-preset-css-prop": "^11.2.0",
|
|
"@emotion/jest": "^11.3.0",
|
|
"@storybook/preset-typescript": "^3.0.0",
|
|
"@superset-ui/commit-config": "^0.0.9",
|
|
"@types/enzyme": "^3.10.3",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/jsdom": "^12.2.4",
|
|
"@types/react": "^16.13.1",
|
|
"@types/react-test-renderer": "^16.9.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
"@typescript-eslint/parser": "^5.3.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.3",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
"babel-plugin-jsx-remove-data-test-id": "^2.1.3",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"babel-plugin-typescript-to-proptypes": "^1.4.2",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
"enzyme-to-json": "^3.4.3",
|
|
"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-cypress": "^2.11.2",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"eslint-plugin-jest-dom": "^3.6.5",
|
|
"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.22.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-testing-library": "^3.10.1",
|
|
"eslint-plugin-unicorn": "^25.0.1",
|
|
"esprint": "^0.7.0",
|
|
"fast-glob": "^3.2.4",
|
|
"fs-extra": "^9.0.0",
|
|
"global-box": "^1.2.0",
|
|
"husky": "^4.2.5",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^26.6.3",
|
|
"jest-environment-enzyme": "^7.1.2",
|
|
"jest-enzyme": "^7.1.2",
|
|
"jest-mock-console": "^1.0.0",
|
|
"jsdom": "^16.4.0",
|
|
"lerna": "^3.15.0",
|
|
"lint-staged": "^10.0.3",
|
|
"npm": "^7.5.4",
|
|
"prettier": "^2.4.1",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-loadable": "^5.5.0",
|
|
"react-test-renderer": "^16.13.1",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.5",
|
|
"ts-jest": "^26.4.2",
|
|
"ts-loader": "^8.0.7",
|
|
"typescript": "^4.1.2",
|
|
"webpack": "^4.42.0",
|
|
"webpack-bundle-analyzer": "^3.6.1",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"webpack-sources": "^1.4.3",
|
|
"yargs": "^15.4.1"
|
|
},
|
|
"engines": {
|
|
"node": "14.x || 16.x",
|
|
"npm": "^7.5.4"
|
|
},
|
|
"workspaces": [
|
|
"./packages/*",
|
|
"./plugins/*"
|
|
],
|
|
"browserslist": [
|
|
"last 3 chrome versions",
|
|
"last 3 firefox versions",
|
|
"last 3 safari versions",
|
|
"last 3 edge versions"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "./scripts/commitlint.js HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,json,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|