teleport/package.json
Jeff Pihach 0f21a8b8e3
Resolve issues to enable passing CI tests. (#20582)
* Move lint commands to root package.json

* Correctly resolve e-teleport paths.

* Fix prettier issues.

* move eslint configuration files to root.

* resolve lint errors.
2023-01-23 22:06:56 +00:00

42 lines
1.7 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": "yarn workspace @gravitational/namespaces test",
"lint": "yarn prettier-check && yarn eslint",
"eslint": "eslint --quiet --ext .js,.jsx,.ts,.tsx web/",
"type-check": "tsc --noEmit",
"prettier-check": "yarn prettier --check 'web/**/*.{ts,tsx,js,jsx,md}'",
"prettier-write": "yarn prettier --write '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/**"
]
}
}