mirror of
https://github.com/langchain-ai/openwork.git
synced 2026-06-30 20:37:55 -04:00
temporarily use npm scripts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
out
|
||||
dist
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
LICENSE.md
|
||||
tsconfig.json
|
||||
tsconfig.*.json
|
||||
|
||||
@@ -34,8 +34,8 @@ Requires Node.js 18+. Electron is installed automatically as a dependency.
|
||||
```bash
|
||||
git clone https://github.com/langchain-ai/openwork.git
|
||||
cd openwork
|
||||
pnpm install
|
||||
pnpm run dev
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Configuration
|
||||
@@ -101,13 +101,13 @@ openwork is built with:
|
||||
|
||||
```bash
|
||||
# Install dependencies
|
||||
pnpm install
|
||||
npm install
|
||||
|
||||
# Start development server
|
||||
pnpm run dev
|
||||
npm run dev
|
||||
|
||||
# Build for production
|
||||
pnpm run build
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Releases
|
||||
|
||||
+2
-2
@@ -40,10 +40,10 @@
|
||||
"lint": "eslint --cache .",
|
||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
||||
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
|
||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
||||
"start": "electron-vite preview",
|
||||
"dev": "electron-vite dev",
|
||||
"build": "pnpm run typecheck && electron-vite build"
|
||||
"build": "npm run typecheck && electron-vite build"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron": "^39.2.6",
|
||||
|
||||
Reference in New Issue
Block a user