teleport/package.json
Ryan Clark 27ad839d47
Move jest, eslint & prettier to the root (#20698)
* Move jest, eslint & prettier to the root

* Update e ref
2023-01-25 17:19:22 +00:00

41 lines
1.6 KiB
JSON

{
"name": "teleport-ui",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"build-ui": "yarn build-ui-oss && yarn build-ui-e",
"build-ui-oss": "yarn workspace @gravitational/teleport build --output-path=../../../webassets/teleport/app",
"build-ui-e": "yarn workspace @gravitational/teleport.e build --output-path=../../../webassets/e/teleport/app",
"build-teleport": "yarn workspace @gravitational/namespaces build-teleport",
"start-teleport": "yarn workspace @gravitational/namespaces start-teleport",
"build-term": "yarn workspace @gravitational/namespaces build-term",
"start-term": "yarn workspace @gravitational/namespaces start-term",
"package-term": "yarn workspace @gravitational/namespaces package-term",
"build-native-deps-for-term": "yarn workspace @gravitational/namespaces build-native-deps-for-term",
"build-and-package-term-ci": "yarn workspace @gravitational/namespaces build-and-package-term-ci",
"test": "jest",
"lint": "yarn prettier-check && yarn eslint",
"eslint": "eslint --quiet --ext .js,.jsx,.ts,.tsx web/ e/",
"type-check": "tsc --noEmit",
"prettier-check": "yarn prettier --check '+(e|web)/**/*.{ts,tsx,js,jsx,md}'",
"prettier-write": "yarn prettier --write '+(e|web)/**/*.{ts,tsx,js,jsx,md}'"
},
"private": true,
"resolutions": {
"react": "16.14.0",
"**/minimist": "^1.2.5",
"**/@types/react": "^16.8.19"
},
"workspaces": {
"packages": [
"web",
"web/packages/build/**",
"web/packages/design/**",
"web/packages/shared/**",
"web/packages/teleport",
"web/packages/teleterm",
"e/web/**"
]
}
}