chore: add missing package.json for npm compatibility

This commit is contained in:
James ABIB 2025-06-23 12:43:35 +02:00
parent ff9b48d6e8
commit 16fe2c7760
7 changed files with 5053 additions and 6336 deletions

4
.gitignore vendored
View File

@ -17,4 +17,6 @@
!/apps/web/.env.example
# typescript
/apps/web/next-env.d.ts
/apps/web/next-env.d.ts
node_modules

View File

@ -37,12 +37,16 @@ A free, open-source video editor for web, desktop, and mobile.
npm install
# or, with Bun
bun install
# or, with pnpm
pnpm install
```
3. **Run the development server:**
```bash
npm run dev
# or, with Bun
bun run dev
# or, with pnpm
pnpm run dev
```
4. **Open in browser:**
Visit [http://localhost:3000](http://localhost:3000)

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
{
"name": "next-template",
"name": "web",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
@ -53,6 +53,7 @@
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "24.0.3",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"cross-env": "^7.0.3",

17
package.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "open-cut",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "pnpm --filter web dev",
"build": "pnpm --filter web build",
"start": "pnpm --filter web start",
"lint": "pnpm --filter web lint",
"db:generate": "pnpm --filter web db:generate",
"db:push:local": "pnpm --filter web db:push:local",
"db:push:prod": "pnpm --filter web db:push:prod"
},
"workspaces": [
"apps/web"
]
}

5022
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

4
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,4 @@
packages:
- apps/web
ignoredBuiltDependencies:
- esbuild