ontowave 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "ontowave",
3
+ "version": "1.0.0",
4
+ "description": "Lightweight JavaScript library for creating interactive documentation from Markdown with multilingual support, Prism syntax highlighting, Mermaid diagrams, and PlantUML rendering",
5
+ "main": "dist/ontowave.js",
6
+ "unpkg": "dist/ontowave.min.js",
7
+ "jsdelivr": "dist/ontowave.min.js",
8
+ "files": [
9
+ "dist/ontowave.js",
10
+ "dist/ontowave.min.js",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "keywords": [
15
+ "documentation",
16
+ "markdown",
17
+ "multilingual",
18
+ "i18n",
19
+ "prism",
20
+ "syntax-highlighting",
21
+ "mermaid",
22
+ "plantuml",
23
+ "diagrams",
24
+ "lightweight",
25
+ "browser",
26
+ "cdn"
27
+ ],
28
+ "author": "Stéphane Denis",
29
+ "license": "CC-BY-NC-SA-4.0",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/stephanedenis/OntoWave.git"
33
+ },
34
+ "homepage": "https://ontowave.org",
35
+ "bugs": {
36
+ "url": "https://github.com/stephanedenis/OntoWave/issues"
37
+ },
38
+ "private": false,
39
+ "type": "module",
40
+ "scripts": {
41
+ "prebuild": "npm run sitemap && npm run pageslist",
42
+ "dev": "vite",
43
+ "build": "vite build",
44
+ "build:package": "npx uglifyjs dist/ontowave.js -o dist/ontowave.min.js -c -m",
45
+ "build:standalone": "npm run build && node tools/build-standalone.mjs",
46
+ "serve:docs": "npx http-server ./docs -p 8080 -c-1 --cors",
47
+ "preview": "vite preview",
48
+ "sitemap": "node tools/build-sitemap.mjs",
49
+ "pageslist": "node tools/build-pages-txt.mjs",
50
+ "dev:docs": "npm run sitemap && npm run pageslist && npm run serve:docs",
51
+ "type-check": "tsc --noEmit",
52
+ "spell": "cspell --no-progress --no-must-find-files .",
53
+ "check": "npm run lint && npm run type-check && npm run test && npm run spell && npm run build",
54
+ "check:standalone": "npm run build:standalone",
55
+ "lint": "eslint \"src/**/*.{ts,tsx}\"",
56
+ "format": "prettier -w .",
57
+ "lint:fix": "eslint --fix \"src/**/*.{ts,tsx}\"",
58
+ "test": "vitest run",
59
+ "test:watch": "vitest",
60
+ "test:ci": "vitest run --coverage",
61
+ "test:e2e": "playwright test",
62
+ "test:e2e:ui": "playwright test --ui",
63
+ "test:e2e:debug": "playwright test --debug",
64
+ "release": "standard-version",
65
+ "publish:npm": "./scripts/publish.sh",
66
+ "prepublishOnly": "npm run build:package",
67
+ "prepare": "npm run build:package"
68
+ },
69
+ "dependencies": {
70
+ "highlight.js": "^11.9.0",
71
+ "katex": "^0.16.10",
72
+ "markdown-it": "^14.1.0",
73
+ "markdown-it-anchor": "^8.6.7",
74
+ "markdown-it-container": "^4.0.0",
75
+ "markdown-it-footnote": "^3.0.3",
76
+ "markdown-it-katex": "^2.0.3",
77
+ "markdown-it-link-attributes": "^4.0.1",
78
+ "mermaid": "^10.9.1",
79
+ "yaml": "^2.5.1"
80
+ },
81
+ "devDependencies": {
82
+ "@playwright/test": "^1.55.0",
83
+ "@typescript-eslint/eslint-plugin": "^8.42.0",
84
+ "@typescript-eslint/parser": "^8.42.0",
85
+ "@vitest/coverage-v8": "^2.0.5",
86
+ "cspell": "^8.16.0",
87
+ "eslint": "^9.34.0",
88
+ "eslint-config-prettier": "^10.1.8",
89
+ "eslint-plugin-prettier": "^5.5.4",
90
+ "http-server": "^14.1.1",
91
+ "prettier": "^3.6.2",
92
+ "standard-version": "^9.5.0",
93
+ "typescript": "^5.5.4",
94
+ "uglify-js": "^3.19.3",
95
+ "vite": "^5.4.0",
96
+ "vitest": "^2.0.5"
97
+ }
98
+ }