AutumnWhj / ChatGPT-wechat-bot

ChatGPT for wechat https://github.com/AutumnWhj/ChatGPT-wechat-bot
MIT License
4.67k stars 981 forks source link

Extra ',' in the latest version in 'package.json' #235

Open QYlichuyou opened 1 year ago

QYlichuyou commented 1 year ago

There is an extra ',' at line 13 in the latest version in 'package.json', the package.json should be: { "name": "chatgpt-wechatbot", "version": "1.0.0", "description": "", "main": "lib/bundle.cjs.js", "module": "lib/bundle.esm.js", "type": "module", "scripts": { "dev": "node --loader ts-node/esm --inspect ./src/index.ts", "test": "node --loader ts-node/esm --inspect ./src/auth.ts", "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/*/.{ts,tsx}\" --fix", "lint:prettier": "prettier --write \"src/*/.{js,json,tsx,md}\"", "lint:lint-staged": "lint-staged" }, "keywords": [ "chatgpt", "wechat", "wechaty", "微信机器人", "微信助手" ], "author": "Jin", "license": "ISC", "dependencies": { "@types/node": "^18.11.11", "@waylaidwanderer/chatgpt-api": "^1.33.1", "qrcode-terminal": "^0.12.0", "ts-node": "^10.9.1", "tslib": "^2.4.1", "typescript": "^4.9.3", "wechaty": "^1.20.2", "wechaty-puppet-wechat": "^1.18.4" } }

ParkerTzh commented 1 year ago

"type": "module", 后面的逗号去掉