62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"author": "Innei <https://innei.ren>",
|
|
"private": true,
|
|
"license": "AGPLv3",
|
|
"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",
|
|
"build": "pnpm -C \"apps/core\" run build",
|
|
"dev": "pnpm -C \"apps/core\" run start",
|
|
"bundle": "pnpm -C \"apps/core\" run bundle",
|
|
"test": "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.10.1",
|
|
"@innei/prettier": "0.10.1",
|
|
"@types/node": "20.3.1",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^8.42.0",
|
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "13.2.2",
|
|
"prettier": "2.8.8",
|
|
"rimraf": "5.0.1",
|
|
"ts-node": "10.9.1",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typescript": "5.1.3",
|
|
"vite-tsconfig-paths": "4.2.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"mongodb-memory-server": "8.13.0",
|
|
"redis-memory-server": "0.6.0"
|
|
},
|
|
"resolutions": {
|
|
"semver": "7.5.1",
|
|
"cache-manager-ioredis>ioredis": "^5",
|
|
"pino": "./external/pino",
|
|
"get-pixels@^3>request": "./external/request",
|
|
"typescript": "5.1.3"
|
|
}
|
|
}
|