85 lines
3.0 KiB
JSON
Executable File
85 lines
3.0 KiB
JSON
Executable File
{
|
|
"name": "crux",
|
|
"version": "1.3.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"license": "UNLICENSED",
|
|
"packageManager": "npm@11.15.0",
|
|
"engines": {
|
|
"node": ">=24.0.0",
|
|
"npm": ">=11.6.2"
|
|
},
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*",
|
|
"packages/services/*",
|
|
"packages/design-system/*"
|
|
],
|
|
"scripts": {
|
|
"dev:admin-app": "npm run dev --workspace @crux-kit/admin-app",
|
|
"dev:backend": "npm run dev --workspace @crux-kit/backend",
|
|
"dev:web": "npm run dev --workspace @crux-kit/web-app",
|
|
"dev:all": "npm run dev:backend & npm run dev:admin-app & npm run dev:web",
|
|
"build:admin": "npm run build --workspace @crux-kit/admin-app",
|
|
"build:backend": "npm run build --workspace @crux-kit/backend",
|
|
"build:web": "npm run build --workspace @crux-kit/web-app",
|
|
"test:admin": "npm run test --workspace @crux-kit/admin-app",
|
|
"test:backend": "npm run test --workspace @crux-kit/backend",
|
|
"test:web": "npm run test --workspace @crux-kit/web-app",
|
|
"test:backend:compose": "docker compose exec -T -e DB_DATABASE=adonis_test backend npm test --",
|
|
"version:patch": "npm version patch --no-git-tag-version && npm version patch --workspaces --no-git-tag-version",
|
|
"version:minor": "npm version minor --no-git-tag-version && npm version minor --workspaces --no-git-tag-version",
|
|
"version:major": "npm version major --no-git-tag-version && npm version major --workspaces --no-git-tag-version",
|
|
"prepare": "husky",
|
|
"lint": "node scripts/eslint-with-typescript6.cjs .",
|
|
"lint:fix": "node scripts/eslint-with-typescript6.cjs --fix .",
|
|
"format": "prettier --write --ignore-unknown .",
|
|
"format:check": "prettier --check --ignore-unknown ."
|
|
},
|
|
"imports": {},
|
|
"devDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "4.4.1",
|
|
"@types/node": "22.15.23",
|
|
"@typescript-eslint/eslint-plugin": "^8.64.0",
|
|
"@typescript-eslint/parser": "^8.64.0",
|
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
"eslint": "9.27.0",
|
|
"eslint-config-prettier": "10.1.5",
|
|
"eslint-plugin-prettier": "5.4.0",
|
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
"typescript": "^7.0.2",
|
|
"typescript-eslint": "^8.64.0",
|
|
"typescript-eslint-ts6": "npm:@typescript/typescript6@^6.0.2"
|
|
},
|
|
"dependencies": {
|
|
"latest-version": "^9.0.0",
|
|
"patch-package": "^8.0.1"
|
|
},
|
|
"lint-staged": {
|
|
"apps/**/*.{ts,tsx,js,jsx}": [
|
|
"node scripts/eslint-with-typescript6.cjs --fix",
|
|
"prettier --write"
|
|
],
|
|
"apps/backend/**/*.{ts,js}": [
|
|
"node scripts/eslint-with-typescript6.cjs --fix",
|
|
"prettier --write"
|
|
],
|
|
"apps/web/**/*.{ts,js}": [
|
|
"node scripts/eslint-with-typescript6.cjs --fix",
|
|
"prettier --write"
|
|
],
|
|
"packages/**/*.{ts,tsx,js,jsx}": [
|
|
"node scripts/eslint-with-typescript6.cjs --fix",
|
|
"prettier --write"
|
|
],
|
|
"**/*.{json,md,yml}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|