-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 6.58 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 6.58 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
{
"name": "markdown-core",
"private": true,
"type": "module",
"packageManager": "pnpm@11.7.0",
"engines": {
"node": "26.5.0",
"pnpm": "11.7.0"
},
"scripts": {
"audit:ci": "scripts/audit-ci-policy.sh",
"audit:packages": "scripts/audit-package-contents.sh",
"audit:repository": "scripts/audit-repository.sh",
"audit:repository:clean": "scripts/audit-repository.sh --clean",
"audit:scope-sanity": "node scripts/audit-scope-sanity.mjs",
"audit:ast-projections": "node scripts/audit-ast-projections.mjs",
"audit:source-lists": "node scripts/audit-source-lists.mjs",
"audit:surface": "scripts/audit-public-surface.sh",
"audit:tests": "scripts/audit-test-layout.sh",
"benchmark:c-host": "cmake --preset default && cmake --build --preset default --parallel && ctest --preset benchmark",
"benchmark:swift-macos": "CLANG_MODULE_CACHE_PATH=build/swift-module-cache swift run --disable-sandbox -c release MarkdownCoreBenchmarks",
"benchmark:kotlin-jvm": "scripts/gradle.sh :packages:kotlin-markdown-core:kotlinBenchmark",
"benchmark:es-node": "node packages/es-markdown-core/scripts/build.mjs && node packages/es-markdown-core/scripts/benchmark.mjs",
"build:c": "cmake --preset default && cmake --build --preset default --parallel",
"build:swift": "swift build",
"check:upstream-parity": "node scripts/check-upstream-parity.mjs",
"check:mdast-parity": "node scripts/check-mdast-parity.mjs",
"fuzz:parity": "node scripts/fuzz-parity.mjs",
"check:contracts": "node scripts/check-canonical-ast-fixtures.mjs && scripts/gradle.sh :packages:kotlin-markdown-core:contracts:list-naming:compileKotlin",
"check:gradle-model": "scripts/gradle-model-smoke.sh",
"check:kotlin-consumers": "scripts/check-kotlin-consumers.sh",
"clean:kotlin-android-emulator": "scripts/gradle.sh :packages:kotlin-markdown-core:cleanManagedDevices",
"conformance:c-host": "cmake --preset default && cmake --build --preset default --parallel && ctest --preset conformance",
"conformance:swift-macos": "CLANG_MODULE_CACHE_PATH=build/swift-module-cache swift test --disable-sandbox --filter '^MarkdownCoreConformanceTests\\.'",
"conformance:swift-ios-simulator": "scripts/run-swift-ios-tests.sh MarkdownCoreConformanceTests",
"conformance:kotlin-jvm": "scripts/gradle.sh :packages:kotlin-markdown-core:jvmConformanceTest",
"conformance:kotlin-android-host": "scripts/gradle.sh :packages:kotlin-markdown-core:androidHostConformanceTest",
"conformance:kotlin-android-emulator": "scripts/run-kotlin-android-emulator-tests.sh conformance",
"conformance:kotlin-macos-arm64": "scripts/gradle.sh :packages:kotlin-markdown-core:macosArm64ConformanceTest",
"conformance:kotlin-linux-x64": "scripts/gradle.sh :packages:kotlin-markdown-core:linuxX64ConformanceTest",
"conformance:es-node": "pnpm --dir packages/es-markdown-core run conformance",
"coverage:swift-macos": "scripts/coverage-swift-macos.sh",
"coverage:kotlin-jvm": "scripts/coverage-kotlin-jvm.sh",
"coverage:es-node": "scripts/coverage-es-node.sh",
"format": "pnpm run format:c && pnpm run format:cmake && pnpm run format:swift && pnpm run format:kotlin && pnpm run format:es",
"format:check": "pnpm run format:c:check && pnpm run format:cmake:check && pnpm run format:swift:check && pnpm run format:kotlin:check && pnpm run format:es:check",
"format:c": "scripts/format-c.sh",
"format:c:check": "scripts/format-c.sh --check",
"format:cmake": "scripts/format-cmake.sh",
"format:cmake:check": "scripts/format-cmake.sh --check",
"format:es": "prettier --write .",
"format:es:check": "prettier --check .",
"format:kotlin": "scripts/gradle.sh ktlintFormat",
"format:kotlin:check": "scripts/gradle.sh ktlintCheck",
"format:swift": "scripts/format-swift.sh",
"format:swift:check": "scripts/format-swift.sh --check",
"lint": "pnpm run lint:c && pnpm run lint:swift && pnpm run lint:kotlin && pnpm run lint:es",
"lint:c": "scripts/lint-c.sh",
"lint:es": "eslint .",
"lint:kotlin": "scripts/gradle.sh ktlintCheck",
"lint:swift": "scripts/lint-swift.sh",
"release:check-version": "node scripts/check-release-version.mjs",
"release:dry-run": "scripts/release-dry-run.sh",
"test:c-host": "cmake --preset default && cmake --build --preset default --parallel && ctest --preset correctness",
"test:swift-macos": "CLANG_MODULE_CACHE_PATH=build/swift-module-cache swift test --disable-sandbox --filter '^MarkdownCoreTests\\.' && CLANG_MODULE_CACHE_PATH=build/swift-module-cache swift test --disable-sandbox --package-path packages/swift-markdown-core/Tests/Consumer",
"test:swift-ios-simulator": "scripts/run-swift-ios-tests.sh MarkdownCoreTests",
"test:kotlin-jvm": "scripts/gradle.sh :packages:kotlin-markdown-core:jvmTest",
"test:kotlin-android-host": "scripts/gradle.sh :packages:kotlin-markdown-core:testAndroidHostTest",
"test:kotlin-android-emulator": "scripts/run-kotlin-android-emulator-tests.sh correctness",
"test:kotlin-macos-arm64": "scripts/gradle.sh :packages:kotlin-markdown-core:macosArm64Test",
"test:kotlin-linux-x64": "scripts/gradle.sh :packages:kotlin-markdown-core:linuxX64Test",
"test:es-node": "node packages/es-markdown-core/scripts/run-tests.mjs --target node",
"test:es-browser": "node packages/es-markdown-core/scripts/run-tests.mjs --target browser",
"verify": "pnpm run verify:core && pnpm run verify:macos",
"verify:core": "pnpm run format:c:check && pnpm run format:cmake:check && pnpm run format:kotlin:check && pnpm run format:es:check && pnpm run lint:c && pnpm run lint:kotlin && pnpm run lint:es && pnpm run check:contracts && pnpm run check:gradle-model && node scripts/check-release-version.mjs --skip-swift && pnpm run audit:repository && pnpm run audit:ci && pnpm run audit:tests && pnpm run audit:packages && pnpm run audit:scope-sanity",
"verify:macos": "pnpm run format:swift:check && pnpm run lint:swift && pnpm run release:check-version && pnpm run audit:surface"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"eslint": "10.0.1",
"prettier": "3.9.5",
"remark-directive": "^4.0.0",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"typescript": "6.0.3",
"typescript-eslint": "8.63.0",
"unified": "^11.0.5"
}
}