-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 5.27 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 5.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "exocortex-monorepo",
"version": "15.0.1",
"description": "Exocortex: A configurable UI system for Obsidian that transforms knowledge management through ontology-driven layouts and semantic capabilities",
"main": "main.js",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"dev": "npm run dev -w @exocortex/obsidian-plugin",
"build": "npm run build -w exocortex && npm run build --workspaces --if-present && tsc -noEmit -skipLibCheck && node packages/obsidian-plugin/esbuild.config.mjs production",
"lint": "eslint packages/obsidian-plugin/src --ext .ts,.tsx",
"lint:fix": "eslint packages/obsidian-plugin/src --ext .ts,.tsx --fix",
"format": "prettier --write 'packages/**/*.{ts,tsx}'",
"format:check": "prettier --check 'packages/**/*.{ts,tsx}'",
"check:types": "tsc --noEmit --skipLibCheck",
"check:all": "npm run check:types && npm run lint && npm run format:check",
"prepare": "husky install",
"test": "npm run test:unit && npm run test:ui && npm run test:component",
"test:unit": "./scripts/test-ci-batched.sh",
"test:ui": "jest --config packages/obsidian-plugin/jest.ui.config.js",
"test:component": "cd packages/obsidian-plugin && npx playwright test -c playwright-ct.config.ts && cd ../..",
"test:component:ui": "playwright test -c packages/obsidian-plugin/playwright-ct.config.ts --ui",
"test:component:report": "playwright show-report playwright-report-ct",
"test:visual": "cd packages/obsidian-plugin && npx playwright test -c playwright-ct.config.ts --grep visual && cd ../..",
"test:visual:update": "cd packages/obsidian-plugin && npx playwright test -c playwright-ct.config.ts --grep visual --update-snapshots && cd ../..",
"test:e2e": "playwright test -c packages/obsidian-plugin/playwright-e2e.config.ts",
"test:e2e:local": "./scripts/test-e2e-local.sh",
"test:e2e:docker": "docker build --platform linux/amd64 -f packages/obsidian-plugin/Dockerfile.e2e -t exocortex-e2e . && docker run --rm exocortex-e2e",
"test:all": "npm test && npm run test:e2e:docker",
"bdd:test": "cd packages/obsidian-plugin && npx tsx ../../node_modules/@cucumber/cucumber/bin/cucumber.js && cd ../..",
"bdd:test:dry": "cd packages/obsidian-plugin && npx tsx ../../node_modules/@cucumber/cucumber/bin/cucumber.js --dry-run && cd ../..",
"bdd:coverage": "node scripts/bdd-coverage.js",
"bdd:report": "node scripts/generate-bdd-report.js",
"bdd:check": "node scripts/bdd-coverage.js --fail-on-uncovered",
"test:mutation": "stryker run",
"test:mutation:core": "stryker run --mutate 'packages/exocortex/src/**/*.ts'",
"test:mutation:report": "open mutation-report.html",
"test:pyramid": "node scripts/check-test-pyramid.js",
"test:pyramid:strict": "node scripts/check-test-pyramid.js --strict",
"test:perf": "jest --config packages/obsidian-plugin/jest.config.js --testPathPatterns='performance.*\\.test\\.ts$'",
"test:perf:component": "cd packages/obsidian-plugin && npx playwright test -c playwright-ct.config.ts RenderingPerformance && cd ../.."
},
"keywords": [
"obsidian",
"obsidian-plugin",
"exocortex",
"knowledge-base",
"ontology",
"semantic"
],
"author": "A. Kitelev",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@cucumber/cucumber": "^12.3.0",
"@cucumber/pretty-formatter": "^2.4.1",
"@eslint/js": "^9.39.2",
"@playwright/experimental-ct-react": "^1.56.1",
"@playwright/test": "^1.56.1",
"@preact/compat": "^18.3.1",
"@stryker-mutator/core": "^9.6.0",
"@stryker-mutator/jest-runner": "^9.6.0",
"@stryker-mutator/typescript-checker": "^9.6.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/node": "^18.19.129",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"babel-jest": "^30.2.0",
"builtin-modules": "3.3.0",
"esbuild": "^0.27.1",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-obsidianmd": "^0.1.6",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-environment-obsidian": "^0.0.1",
"jsdom": "^26.1.0",
"lint-staged": "^16.2.7",
"obsidian": "latest",
"preact": "^10.28.4",
"prettier": "^3.6.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0"
},
"lint-staged": {
"packages/*/src/**/*.{ts,tsx}": [
"eslint --fix --max-warnings=0",
"jest --bail --passWithNoTests --findRelatedTests --config packages/obsidian-plugin/jest.config.js"
],
"packages/cli/src/**/*.ts": [
"node --experimental-vm-modules ./node_modules/jest/bin/jest.js --bail --passWithNoTests --findRelatedTests --config packages/cli/jest.config.js"
],
"*.{json,md}": "prettier --write --ignore-unknown"
},
"dependencies": {
"react": "^19.2.3",
"react-dom": "^19.2.3",
"reflect-metadata": "^0.2.2",
"tsyringe": "^4.10.0",
"uuid": "^13.0.0"
}
}