superset/superset-frontend/temporary_superset_ui/superset-ui/package.json
Chris Williams 282e719bb1 [build-config] move to monorepo root (#11)
* [build-config] move to monorepo root

* [lint-staged] testing

* [@babel/runtime] move to package level

* [build-config] update travis.yml for root build

* [lint] generate prettier config before linting

* [build-config] ^0.0.24

* [jest] add test:watch script

* [translation] remove package scripts

* [core] set author

* [core] add .eslintrc for root overrides

* [root] fix lint + prettier scripts

* [travis][jest] try --no-cache --debug

* [travis][jest] try running jest directly

* build-config@^0.0.25 to fix jest

* travis and test script to non-debug mode

* [travis] lerna bootstrap instead of installing 2x

* [npmrc] package-lock=false

* [travis] lerna bootstrap in script not install

* [travis] install and run tests per-package

* yarn workspaces are magical
2021-11-26 11:44:31 +08:00

73 lines
1.9 KiB
JSON

{
"name": "@superset-ui/monorepo",
"version": "0.0.0",
"description": "Superset UI",
"private": true,
"scripts": {
"build": "yarn run build:cjs && yarn run build:esm",
"build:cjs": "NODE_ENV=production beemo babel ./src --out-dir lib/ --minify --workspaces=*",
"build:esm": "NODE_ENV=production beemo babel ./src --out-dir esm/ --esm --minify --workspaces=*",
"lint": "beemo create-config prettier && beemo eslint \"./packages/*/{src,test}/**/*.{js,jsx}\"",
"jest": "beemo jest --color --coverage",
"prepare-release": "git checkout master && git pull --rebase origin master && lerna bootstrap && yarn run test",
"prerelease": "yarn run build",
"pretest": "yarn run lint",
"prettier": "beemo prettier \"./packages/*/{src,test}/**/*.{js,jsx,json,md}\"",
"release": "yarn run prepare-release && lerna publish",
"test": "yarn run jest",
"test:watch": "beemo create-config jest && jest --watch"
},
"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",
"devDependencies": {
"@data-ui/build-config": "^0.0.25",
"husky": "^1.1.2",
"lerna": "^3.2.1",
"lint-staged": "^7.3.0",
"yarn": "^1.9.4"
},
"engines": {
"node": ">=8.10.0"
},
"beemo": {
"module": "@data-ui/build-config",
"drivers": [
"babel",
"eslint",
{
"driver": "jest",
"env": {
"NODE_ENV": "test"
}
},
"prettier"
]
},
"workspaces": [
"./packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./packages/*/{src,test}/**/*.{js,jsx,json,md}": [
"yarn run prettier --write",
"git add"
]
}
}