-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 4 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
{
"private": true,
"type": "module",
"license": "Unlicense",
"scripts": {
"clean": "rm --recursive --force private public",
"build:check": "npm run clean && npm run lint && npm run test:unit",
"build:intermediate": "node code/build/builder.ts",
"build:rollup": "rm --recursive --force build/public/code && rollup --config code/rollup.config.ts",
"build": "npm run build:check && npm run build:intermediate && npm run build:rollup",
"watcher": "node code/build/watcher.ts",
"server": "node --watch code/server/index.ts",
"lint:styles:files": "find client/styles -name '*.scss'",
"lint:styles": "stylelint --max-warnings 0 $(npm run --silent lint:styles:files)",
"lint:code:ts": "tsc",
"lint:code:eslint": "eslint --max-warnings 0 --config code/eslint.config.ts code",
"lint:code": "npm run lint:code:ts && npm run lint:code:eslint",
"lint": "npm run lint:styles && npm run lint:code",
"benchmark": "node",
"test:runner": "node --test --experimental-test-isolation=none",
"test:unit:files": "find code/server code/common code/client -name 'test-*.ts'",
"test:unit": "npm run --silent test:runner -- --test-timeout 100 --test-global-setup code/testing/unit/setup.ts $(npm run --silent test:unit:files)",
"test:api:files": "find code/testing/api -name 'test-*.ts'",
"test:api": "npm run --silent test:runner -- --test-timeout 1000 --test-global-setup code/testing/api/setup.ts $(npm run --silent test:api:files)",
"test:e2e:files": "find code/testing/e2e -name 'test-*.ts'",
"test:e2e": "npm run --silent test:runner -- --test-timeout 60000 $(npm run --silent test:e2e:files)",
"declutter": "knip --config code/knip.ts --dependencies --files"
},
"dependencies": {
"commonmark": "^0.31.2",
"node-html-parser": "^7.1.0",
"tar": "^7.5.13"
},
"devDependencies": {
"@boxicons/core": "^1.0.6",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.59.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@swc/core": "^1.15.30",
"@types/benchmark": "^2.1.5",
"@types/browser-sync": "^2.29.1",
"@types/commonmark": "^0.27.10",
"@types/node": "^24.12.2",
"benchmark": "^2.1.4",
"browser-sync": "^3.0.4",
"chokidar": "^5.0.0",
"es-observable-tests": "^0.3.0",
"eslint": "^10.2.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-unused-imports": "^4.4.1",
"find-process": "^2.1.1",
"globals": "^17.5.0",
"knip": "^6.6.2",
"rollup": "^4.60.2",
"sass": "^1.99.0",
"stylelint": "^17.9.0",
"stylelint-config-hudochenkov": "^13.0.2",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-high-performance-animation": "^2.0.0",
"stylelint-order": "^8.1.1",
"stylelint-plugin-defensive-css": "^2.9.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0"
},
"allowScripts": {
"@parcel/watcher@2.5.1": true,
"@swc/core@1.15.30": true,
"unrs-resolver@1.10.1": true
},
"stylelint": {
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-hudochenkov/order"
],
"plugins": [
"stylelint-high-performance-animation",
"stylelint-plugin-defensive-css"
],
"rules": {
"custom-property-pattern": null,
"scss/dollar-variable-colon-space-after": null,
"defensive-css/no-list-style-none": [
true,
{
"severity": "warning",
"fix": true
}
],
"defensive-css/no-accidental-hover": [
true,
{
"severity": "warning"
}
],
"defensive-css/require-background-repeat": [
true,
{
"severity": "warning"
}
],
"defensive-css/require-overscroll-behavior": [
true,
{
"severity": "warning"
}
],
"defensive-css/no-mixed-vendor-prefixes": [
true,
{
"severity": "warning"
}
],
"plugin/no-low-performance-animation-properties": true
}
}
}