66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@9.9.0",
|
|
"license": "AGPLv3",
|
|
"homepage": "https://github.com/mx-space/core#readme",
|
|
"repository": {
|
|
"directory": "mx-space/core",
|
|
"url": "https://github.com/mx-space/core"
|
|
},
|
|
"author": "Innei <https://innei.in>",
|
|
"scripts": {
|
|
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
|
|
"prepare": "husky install && node scripts/init-project.mjs && corepack enable",
|
|
"build:external": "pnpm -C \"packages/complied\" run build",
|
|
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
|
|
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
|
|
"bundle": "pnpm run build:external && pnpm -C \"apps/core\" run bundle",
|
|
"test": "pnpm run build:external && pnpm -C \"apps/core\" run test",
|
|
"lint": "pnpm -C \"apps/core\" run lint",
|
|
"publish:core": "cd apps/core && npm run publish"
|
|
},
|
|
"optionalDependencies": {
|
|
"mongodb-memory-server": "10.0.0",
|
|
"redis-memory-server": "0.11.0"
|
|
},
|
|
"dependencies": {
|
|
"zx-cjs": "7.0.7-0"
|
|
},
|
|
"devDependencies": {
|
|
"@innei/prettier": "0.15.0",
|
|
"@sxzz/eslint-config": "3.17.4",
|
|
"@types/node": "20.16.5",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^9",
|
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
"husky": "9.1.6",
|
|
"lint-staged": "15.2.10",
|
|
"prettier": "3.3.3",
|
|
"rimraf": "6.0.1",
|
|
"ts-node": "10.9.2",
|
|
"tsconfig-paths": "4.2.0",
|
|
"tsup": "8.2.4",
|
|
"typescript": "5.6.2",
|
|
"vite-tsconfig-paths": "4.3.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --cache --fix",
|
|
"prettier --ignore-path ./.prettierignore --write "
|
|
]
|
|
},
|
|
"issues": "https://github.com/mx-space/core/issues",
|
|
"resolutions": {
|
|
"get-pixels@^3>request": "./external/request",
|
|
"mongodb": "6.9.0",
|
|
"pino": "./external/pino",
|
|
"semver": "7.6.3",
|
|
"typescript": "5.6.2",
|
|
"whatwg-url": "14.0.0"
|
|
}
|
|
} |