mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 05:05:44 +08:00
Changed package.json main and exports to use index.js instead of index.cjs. Updated tsconfig.json to allow JavaScript files and expanded include patterns to support both JS and TS files.
27 lines
507 B
JSON
27 lines
507 B
JSON
{
|
|
"name": "napcat-develop",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "powershell ./nodeTest.ps1"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./index.js"
|
|
},
|
|
"./*": {
|
|
"require": "./*"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "^11.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
} |