diff options
Diffstat (limited to 'examples/with-nextjs/package.json')
| -rw-r--r-- | examples/with-nextjs/package.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/with-nextjs/package.json b/examples/with-nextjs/package.json new file mode 100644 index 0000000..ee8e555 --- /dev/null +++ b/examples/with-nextjs/package.json @@ -0,0 +1,25 @@ +{ + "name": "with-nextjs", + "version": "0.1.0", + "private": true, + "scripts": { + "build:workspace": "yarn workspace @excalidraw/excalidraw run build:esm && yarn copy:assets", + "copy:assets": "cp -r ../../packages/excalidraw/dist/prod/fonts ./public", + "dev": "yarn build:workspace && next dev -p 3005", + "build": "yarn build:workspace && next build", + "start": "next start -p 3006", + "lint": "next lint" + }, + "dependencies": { + "next": "14.1", + "react": "19.0.0", + "react-dom": "19.0.0" + }, + "devDependencies": { + "@types/node": "^20", + "@types/react": "19.0.10", + "@types/react-dom": "19.0.4", + "path2d-polyfill": "2.0.1", + "typescript": "^5" + } +} |
