chore: add missing package.json for npm compatibility
This commit is contained in:
parent
ff9b48d6e8
commit
16fe2c7760
|
|
@ -17,4 +17,6 @@
|
|||
!/apps/web/.env.example
|
||||
|
||||
# typescript
|
||||
/apps/web/next-env.d.ts
|
||||
/apps/web/next-env.d.ts
|
||||
|
||||
node_modules
|
||||
|
|
|
|||
|
|
@ -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
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,4 @@
|
|||
packages:
|
||||
- apps/web
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
Loading…
Reference in New Issue