diff --git a/package.json b/package.json index a35a5d0..facec04 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,15 @@ "name": "@hitokoto/poll", "private": true, "scripts": { - "build": "nuxt build --dotenv .env.production", - "dev": "nuxt dev --dotenv .env.local", - "generate": "nuxt generate", - "preview": "nuxt preview", + "build": "nuxi build --dotenv .env.production", + "dev": "nuxi dev --dotenv .env.local", + "generate": "nuxi generate", + "preview": "nuxi preview", "prepare": "husky install", "lint:js": "eslint --ext \".js,.ts,.tsx,.jsx,.vue\" --ignore-path .gitignore .", "lint:style": "stylelint \"**/*.{vue,htm,html,css,sss,less,scss,sass}\" --config .stylelintrc.js --ignore-path .gitignore", "lint": "pnpm lint:js && pnpm lint:style", - "postinstall": "nuxt prepare && sh -c 'if [ command -v ./node_modules/.bin/husky ]; then ./node_modules/.bin/husky install; fi;'" + "postinstall": "nuxi prepare && sh -c 'if [ command -v ./node_modules/.bin/husky ]; then ./node_modules/.bin/husky install; fi;'" }, "devDependencies": { "@ant-design-vue/nuxt": "^1.1.1",