67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@9.12.3",
|
|
"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",
|
|
"build:external": "pnpm -C \"packages/compiled\" 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.1.2",
|
|
"redis-memory-server": "0.11.0"
|
|
},
|
|
"dependencies": {
|
|
"zx-cjs": "7.0.7-0"
|
|
},
|
|
"devDependencies": {
|
|
"@innei/prettier": "0.15.0",
|
|
"@sxzz/eslint-config": "4.5.1",
|
|
"@types/node": "22.10.1",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^9.16.0",
|
|
"eslint-plugin-unused-imports": "4.1.4",
|
|
"husky": "9.1.7",
|
|
"lint-staged": "15.2.10",
|
|
"prettier": "3.4.1",
|
|
"rimraf": "6.0.1",
|
|
"ts-node": "10.9.2",
|
|
"tsconfig-paths": "4.2.0",
|
|
"tsup": "8.3.5",
|
|
"typescript": "5.7.2",
|
|
"vite-tsconfig-paths": "5.1.3"
|
|
},
|
|
"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.11.0",
|
|
"pino": "./external/pino",
|
|
"semver": "7.6.3",
|
|
"typescript": "5.6.3",
|
|
"whatwg-url": "14.0.0"
|
|
}
|
|
}
|