aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-07-31 20:14:53 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-07-31 20:14:53 +0900
commit9aa9576bcec58fc7f5b7e543d5b2af0ba80c3db3 (patch)
treef290703a2fab681df3aa92822e06fbb96fa63f03 /package.json
parent211725f2bec18b2e7c554b334a940e0b0ac250d1 (diff)
vite でプロジェクトを作成する
Diffstat (limited to 'package.json')
-rw-r--r--package.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..004dbb3
--- /dev/null
+++ b/package.json
@@ -0,0 +1,28 @@
+{
+ "name": "learning-react",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "tsc -b && vite build",
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1"
+ },
+ "devDependencies": {
+ "@types/react": "^18.3.3",
+ "@types/react-dom": "^18.3.0",
+ "@typescript-eslint/eslint-plugin": "^7.15.0",
+ "@typescript-eslint/parser": "^7.15.0",
+ "@vitejs/plugin-react-swc": "^3.5.0",
+ "eslint": "^8.57.0",
+ "eslint-plugin-react-hooks": "^4.6.2",
+ "eslint-plugin-react-refresh": "^0.4.7",
+ "typescript": "^5.2.2",
+ "vite": "^5.3.4"
+ }
+}