Files
teleport/package.json
T
Rafał Cieślak eb897e7f4a Set noEmit in tsconfig.json (#37928)
We use Vite to compile TS files, so tsc is used merely for type-checking.
Setting noEmit to true makes sure that other tools which use tsc (like
editor plugins) do not make tsc compile code.

outDir is removed as it's not needed if we do not use tsc to compile code.
2024-02-09 13:28:55 +00:00

52 lines
2.1 KiB
JSON

{
"name": "teleport-ui",
"version": "1.0.0",
"scripts": {
"build-ui": "yarn build-ui-oss && yarn build-ui-e",
"build-ui-oss": "yarn workspace @gravitational/teleport build",
"build-ui-e": "yarn workspace @gravitational/teleport.e build",
"build-wasm": "yarn workspace @gravitational/teleport build-wasm",
"start-teleport": "yarn workspace @gravitational/teleport start",
"start-teleport-e": "yarn workspace @gravitational/teleport.e start",
"build-term": "yarn workspace @gravitational/teleterm build",
"start-term": "yarn workspace @gravitational/teleterm start",
"start-term-skip-native-deps": "yarn workspace @gravitational/teleterm start-skip-native-deps",
"package-term": "yarn workspace @gravitational/teleterm package",
"storybook": "start-storybook -p 9002 -c web/.storybook -s web/.storybook/public",
"storybook-smoke-test": "yarn storybook --ci --smoke-test",
"test": "jest",
"test-coverage": "jest --coverage && web/scripts/print-coverage-link.sh",
"test-update-snapshot": "yarn test -- --updateSnapshot",
"tdd": "jest --watch",
"lint": "yarn prettier-check && yarn eslint",
"eslint": "eslint --quiet '+(e|web)/**/*.{ts,tsx,js,jsx,mts}'",
"type-check": "NODE_OPTIONS='--max-old-space-size=4096' tsc",
"prettier-check": "yarn prettier --check '+(e|web)/**/*.{ts,tsx,js,jsx,mts}'",
"prettier-write": "yarn prettier --write --loglevel silent '+(e|web)/**/*.{ts,tsx,js,jsx,mts}'",
"process-icons": "node web/packages/design/src/Icon/script/script.js & yarn prettier --loglevel silent --write 'web/packages/design/src/Icon/Icons/*.tsx'",
"nop": "exit 0"
},
"private": true,
"resolutions": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"**/d3-color": "^3.1.0",
"**/minimist": "^1.2.8",
"**/@types/react": "^18.2.39",
"**/@types/react-dom": "^18.2.17",
"**/trim": "0.0.3",
"webpack": "^5.88.2",
"x-default-browser": "^0.5.2"
},
"devDependencies": {
"prettier": "^3.2.5",
"typescript": "^5.3.2"
},
"workspaces": {
"packages": [
"web/packages/*",
"e/web/*"
]
}
}