mirror of
https://github.com/murashit/codex-panel.git
synced 2026-07-22 06:57:10 +00:00
63 lines
3.3 KiB
JSON
63 lines
3.3 KiB
JSON
{
|
|
"name": "codex-panel",
|
|
"version": "2.4.0",
|
|
"description": "Codex in your Obsidian sidebar.",
|
|
"main": "main.js",
|
|
"author": "murashit",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/murashit/codex-panel.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/murashit/codex-panel/issues"
|
|
},
|
|
"homepage": "https://github.com/murashit/codex-panel#readme",
|
|
"scripts": {
|
|
"build": "node esbuild.config.mjs",
|
|
"build:prod": "node esbuild.config.mjs --production",
|
|
"dev": "node esbuild.config.mjs --watch",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,js,mjs,json,css,md}\" \"tests/**/*.{ts,tsx,js,mjs,json,css,md}\" \"scripts/**/*.{js,mjs}\" \"*.{ts,json,mjs,md,css}\" \"!src/generated/**\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,mjs,json,css,md}\" \"tests/**/*.{ts,tsx,js,mjs,json,css,md}\" \"scripts/**/*.{js,mjs}\" \"*.{ts,json,mjs,md,css}\" \"!src/generated/**\" --cache --cache-location node_modules/.cache/prettier/.prettier-cache --cache-strategy content",
|
|
"format:check:ci": "prettier --check \"src/**/*.{ts,tsx,js,mjs,json,css,md}\" \"tests/**/*.{ts,tsx,js,mjs,json,css,md}\" \"scripts/**/*.{js,mjs}\" \"*.{ts,json,mjs,md,css}\" \"!src/generated/**\"",
|
|
"api:baseline": "node scripts/report-api-baseline.mjs",
|
|
"api:baseline:check": "node scripts/report-api-baseline.mjs --check",
|
|
"generate:app-server-types": "node scripts/clean-generated-types.mjs && codex app-server generate-ts --experimental --out src/generated/app-server && node scripts/normalize-generated-types.mjs",
|
|
"lint": "node scripts/run-parallel.mjs lint:ts lint:css",
|
|
"lint:css": "stylelint \"*.css\" \"src/**/*.css\" --max-warnings=0",
|
|
"lint:ts": "eslint src tests scripts \"*.config.ts\" \"*.config.mjs\" --max-warnings=0 --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content",
|
|
"lint:ts:ci": "eslint src tests scripts \"*.config.ts\" \"*.config.mjs\" --max-warnings=0",
|
|
"release:check": "node scripts/check-release.mjs",
|
|
"release:preflight": "node scripts/preflight-release.mjs",
|
|
"release:prepare": "node scripts/prepare-release.mjs",
|
|
"test": "vitest run --cache",
|
|
"test:ci": "vitest run",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit --incremental --tsBuildInfoFile node_modules/.cache/typescript/tsconfig.tsbuildinfo",
|
|
"typecheck:ci": "tsc -p tsconfig.json --noEmit",
|
|
"check": "node scripts/run-parallel.mjs typecheck test lint:ts lint:css format:check && npm run build:prod",
|
|
"check:ci": "npm run typecheck:ci && npm run test:ci && npm run lint:ts:ci && npm run lint:css && npm run format:check:ci && npm run build:prod"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^25.6.0",
|
|
"@types/react": "^18.3.29",
|
|
"@types/react-dom": "^18.3.7",
|
|
"esbuild": "^0.28.0",
|
|
"eslint": "^10.3.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-obsidianmd": "^0.3.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"jsdom": "^29.1.1",
|
|
"obsidian": "~1.12.3",
|
|
"prettier": "^3.8.3",
|
|
"stylelint": "^17.12.0",
|
|
"stylelint-config-standard": "^40.0.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.60.0",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1"
|
|
}
|
|
}
|