chore: rename dev to start, let pnpm use 18.16

This commit is contained in:
鲁树人 2023-05-07 21:31:46 +01:00
parent af1ff46210
commit 0c4713bd3a
3 changed files with 4 additions and 3 deletions

3
.npmrc
View File

@ -1,2 +1,3 @@
node-version=18.13.0
use-node-version=18.16.0
node-version=18.16.0
engine-strict=true

View File

@ -2,5 +2,5 @@
```sh
pnpm i
pnpm dev
pnpm start
```

View File

@ -4,7 +4,7 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"