-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 3.39 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 3.39 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
{
"name": "sonar-quiz-system",
"version": "0.2.0",
"description": "Offline-first interactive quiz and analysis platform for DITA-published HTML training materials",
"type": "module",
"main": "./dist/sonar-quiz.esm.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:encrypted": "ENCRYPT_STORAGE=true npm run build",
"build:dita": "npm run build && npm run copy-to-dita",
"build:dita:encrypted": "npm run build:encrypted && npm run copy-to-dita",
"copy-to-dita": "cp dist/sonar-quiz.iife.* dita/template/resources/ && cp dist/sonar-quiz.iife.* dita-demo/oxygen-webhelp/template/resources/",
"update-dita-demo": "rm -rf dita-demo && mkdir -p dita-demo && cp -r dita/out/oxygen/* dita-demo/",
"typecheck": "tsc --noEmit",
"preview": "vite preview",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "vitest run",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:e2e": "playwright test",
"test:e2e:encrypted": "ENCRYPT_STORAGE=true playwright test",
"test:e2e:all": "npm run test:e2e && npm run test:e2e:encrypted",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:ui": "playwright test --ui",
"test:watch": "vitest",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"stories/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"stories/**/*.ts\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "chromatic --exit-zero-on-changes",
"size-check": "node scripts/check-bundle-size.js",
"test:coverage": "vitest run --coverage",
"test:coverage:unit": "vitest run --coverage",
"test:coverage:integration": "vitest run --config vitest.integration.config.ts --coverage",
"test:coverage:all": "npm run test:coverage:unit && npm run test:coverage:integration",
"test:gaps": "node scripts/check-test-gaps.js",
"analyze:e2e-gaps": "node scripts/analyze-e2e-gaps.js"
},
"keywords": [
"quiz",
"training",
"offline",
"dita",
"web-components",
"lit"
],
"author": "",
"license": "MIT",
"dependencies": {
"lit": "^3.1.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.7",
"@eslint/js": "^9.39.1",
"@peculiar/webcrypto": "^1.5.0",
"@playwright/test": "^1.56.1",
"@storybook/addon-essentials": "8.6.14",
"@storybook/addon-interactions": "8.6.14",
"@storybook/addon-links": "8.6.14",
"@storybook/blocks": "8.6.14",
"@storybook/test": "8.6.14",
"@storybook/web-components": "8.6.14",
"@storybook/web-components-vite": "8.6.14",
"@testing-library/dom": "^10.4.1",
"@types/jsdom": "^27.0.0",
"@vitest/coverage-v8": "^2.1.9",
"chromatic": "^13.3.3",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-lit": "^2.1.1",
"fake-indexeddb": "^6.2.5",
"globals": "^16.5.0",
"jsdom": "^25.0.1",
"prettier": "^3.6.2",
"storybook": "8.6.14",
"terser": "^5.44.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^5.0.10",
"vite-plugin-dts": "^4.5.4",
"vitest": "^2.1.9"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
}
}