123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- {
- "name": "@dmicros/plugins-monorepo",
- "version": "0.0.0-master",
- "description": "Superset UI Plugins",
- "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 ./buildAssets.js",
- "commit": "superset-commit",
- "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
- "type": "nimbus typescript --build --reference-workspaces",
- "type:dts": "cross-env NODE_ENV=production beemo typescript --workspaces=\"@dmicros/((preset|plugin)-*)\" --emitDeclarationOnly",
- "jest": "NODE_ENV=test nimbus jest --coverage --verbose",
- "lint": "nimbus eslint && nimbus prettier --check",
- "lint:fix": "nimbus eslint --fix",
- "prettier": "nimbus prettier",
- "postrelease": "lerna run deploy-demo",
- "prepare-release": "git checkout master && git pull --rebase origin master && lerna bootstrap && yarn run test",
- "prerelease": "yarn run build",
- "pretest": "yarn run lint",
- "release": "yarn run prepare-release && lerna publish && yarn run postrelease",
- "test": "yarn type && yarn jest",
- "test:watch": "yarn lint:fix && yarn jest --watch"
- },
- "repository": "https://github.com/huandzh/superset-ui-plugins-echarts-basic.git",
- "keywords": [
- "apache",
- "superset",
- "data",
- "analytics",
- "analysis",
- "visualization",
- "react",
- "d3",
- "data-ui",
- "vx"
- ],
- "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/build-config": "^0.1.0",
- "@superset-ui/commit-config": "^0.0.9",
- "@superset-ui/chart": "^0.12.1",
- "@superset-ui/chart-composition": "^0.12.1",
- "@superset-ui/color": "^0.12.1",
- "@superset-ui/connection": "^0.12.0",
- "@superset-ui/core": "^0.12.0",
- "@superset-ui/dimension": "^0.12.0",
- "@superset-ui/number-format": "^0.12.1",
- "@superset-ui/query": "^0.12.2",
- "@superset-ui/time-format": "^0.12.1",
- "@superset-ui/translation": "^0.12.0",
- "@types/react": "^16.8.8",
- "core-js": "^3.0.1",
- "csstype": "^2.6.3",
- "fast-glob": "^3.0.1",
- "fs-extra": "^8.0.1",
- "husky": "^3.0.3",
- "lerna": "^3.2.1",
- "lint-staged": "^9.2.1",
- "react": "^16.6.0",
- "react-dom": "^16.6.0",
- "cross-env": "^5.2.1",
- "yarn": "^1.9.4"
- },
- "engines": {
- "node": ">=8.10.0"
- },
- "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": 1,
- "functions": 1,
- "lines": 1,
- "statements": 1
- }
- }
- },
- "eslint": {
- "overrides": [
- {
- "files": "*.test.{js,jsx,ts,tsx}",
- "rules": {
- "import/no-extraneous-dependencies": "off",
- "promise/param-names": "off",
- "import/extensions": "off",
- "jest/require-to-throw-message": "off",
- "jest/no-test-return-statement": "off",
- "jest/no-expect-resolves": "off",
- "jest/no-test-callback": "off"
- }
- },
- {
- "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
- }
- }
- },
- "beemo": {
- "module": "@superset-ui/build-config",
- "drivers": [
- "babel",
- "eslint",
- {
- "driver": "jest",
- "env": {
- "NODE_ENV": "test"
- }
- },
- "prettier",
- "typescript"
- ],
- "typescript": {
- "compilerOptions": {
- "typeRoots": [
- "../../node_modules/vega-lite/typings"
- ]
- }
- }
- },
- "workspaces": [
- "./packages/*"
- ],
- "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 run prettier --write",
- "git add"
- ]
- }
- }
|