Files
airflow/dev/react-plugin-tools/react_plugin_template/package.json
T
Pierre JeambrunandJens Scheffler 0f0ea3b5c4 AIP-68 CLI to bootstrap a React App plugin (#53365)
* First working iteration

* Remove apache licence when generating the project

* Incorporate the theme, and small adjustments

* Fix linting errors

* Integrate to the airflow CLI

* Update test structure

* Add unit tests

* Small adjustments

* Address PR comment, build as library

* Fix react issues

* Smaller dependencies

* Move back dump command to CLI plugins

* Move back command to dev folder

* Update airflow-core/src/airflow/cli/cli_config.py

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>

---------

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
2025-07-21 12:23:41 +02:00

76 lines
2.1 KiB
JSON

{
"name": "{{PROJECT_NAME}}",
"private": true,
"version": "0.0.0",
"type": "module",
"main": "./dist/main.js",
"module": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"types": "./dist/main.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite --port 5173 --strictPort",
"build": "vite build",
"build:types": "tsc --p tsconfig.lib.json",
"build:lib": "vite build",
"lint": "eslint --quiet && tsc --p tsconfig.app.json",
"lint:fix": "eslint --fix && tsc --p tsconfig.app.json",
"format": "pnpm prettier --write .",
"preview": "vite preview",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"dependencies": {
"@chakra-ui/anatomy": "^2.3.4",
"@chakra-ui/react": "^3.20.0",
"@emotion/react": "^11.14.0",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.9",
"@eslint/js": "^9.25.1",
"@stylistic/eslint-plugin": "^2.13.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^22.15.3",
"@types/react": "^18.3.19",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.9.0",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-perfectionist": "^4.12.3",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.15.0",
"happy-dom": "^17.4.6",
"prettier": "^3.5.3",
"typescript": "~5.8.3",
"typescript-eslint": "^8.31.1",
"vite": "^5.4.19",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.1.9"
},
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core",
"esbuild"
]
}
}