Skip to content

Commit

Permalink
build: 优化项目架构文件
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Aug 15, 2023
1 parent 12c34ff commit 6d29148
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dist"
],
"scripts": {
"build:app": "gulp -f ./scripts/build-app.js",
"build": "gulp -f ./scripts/build-app.js",
"release": "sh ./scripts/release.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md --same-file -r 0",
"tsc": "pnpm lint && gulp -f ./scripts/tsc.js",
Expand Down
24 changes: 23 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# ocs-desktop

ocs 软件
ocs 软件

## 运行

```bash
# 安装依赖
npm i pnpm -g
pnpm install

# 打开两个终端
# 终端1
cd packages/web
npm run dev
# 终端2
cd packages/app
npm run dev
```

## 打包

```bash
npm run build
```
2 changes: 0 additions & 2 deletions scripts/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ exports.default = series(
() => execOut('tsc', { cwd: '../packages/common' }),
() => execOut('tsc', { cwd: '../packages/app' }),
() => execOut('tsc', { cwd: '../packages/web' }),
() => execOut('tsc', { cwd: '../packages/utils' }),
() => execOut('tsc', { cwd: '../packages/core' })
)
);

0 comments on commit 6d29148

Please # to comment.