63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"author": "Innei <https://innei.ren>",
|
|
"private": true,
|
|
"license": "AGPLv3",
|
|
"packageManager": "pnpm@8.12.1",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --cache --fix",
|
|
"prettier --ignore-path ./.prettierignore --write "
|
|
]
|
|
},
|
|
"repository": {
|
|
"directory": "mx-space/core",
|
|
"url": "https://github.com/mx-space/core"
|
|
},
|
|
"homepage": "https://github.com/mx-space/core#readme",
|
|
"issues": "https://github.com/mx-space/core/issues",
|
|
"scripts": {
|
|
"prepare": "husky install && node scripts/init-project.mjs && corepack enable",
|
|
"build:external": "pnpm -C \"packages/external\" 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": "eslint --cache --ext .ts,.tsx --ignore-path .gitignore . --fix",
|
|
"publish:core": "cd apps/core && npm run publish"
|
|
},
|
|
"dependencies": {
|
|
"zx-cjs": "7.0.7-0"
|
|
},
|
|
"devDependencies": {
|
|
"@innei/eslint-config-ts": "0.12.0",
|
|
"@innei/prettier": "0.12.0",
|
|
"@types/node": "20.10.5",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-unused-imports": "3.0.0",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "15.2.0",
|
|
"prettier": "3.1.1",
|
|
"rimraf": "5.0.5",
|
|
"ts-node": "10.9.2",
|
|
"tsconfig-paths": "4.2.0",
|
|
"tsup": "8.0.1",
|
|
"typescript": "5.3.3",
|
|
"vite-tsconfig-paths": "4.2.2"
|
|
},
|
|
"optionalDependencies": {
|
|
"mongodb-memory-server": "9.1.3",
|
|
"redis-memory-server": "0.10.0"
|
|
},
|
|
"resolutions": {
|
|
"semver": "7.5.4",
|
|
"pino": "./external/pino",
|
|
"get-pixels@^3>request": "./external/request",
|
|
"typescript": "5.3.3"
|
|
}
|
|
} |