-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.49 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.49 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
{
"type": "module",
"version": "2.0.0",
"devDependencies": {
"@eslint/js": "9.39.1",
"@vitest/coverage-v8": "^4.0.18",
"archiver": "7.0.1",
"esbuild": "0.25.12",
"eslint": "9.39.1",
"globals": "16.5.0",
"husky": "^9.1.7",
"jsdom": "^28.1.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"vitepress": "^1.6.4",
"vitest": "^4.0.18"
},
"scripts": {
"build": "node buildScripts/build.js --production",
"build:chrome": "node buildScripts/build.js --production",
"build:dev": "node buildScripts/build.js",
"build:dev:chrome": "node buildScripts/build.js",
"lint": "eslint src tests buildScripts",
"docs:dev": "vitepress dev docs-src",
"docs:build": "vitepress build docs-src",
"docs:preview": "vitepress preview docs-src",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test:unit": "vitest run tests/unit",
"test:changed": "vitest related --run --passWithNoTests",
"test:gm": "vitest run tests/unit/gm_*.test.js tests/unit/gm*.test.js",
"test:runtime": "vitest run tests/unit/background.test.js tests/unit/content_bridge.test.js tests/unit/offscreen.test.js tests/unit/userscript_adapter.test.js tests/unit/script_registry.test.js tests/unit/browser_adapter.test.js",
"test:i18n": "node scripts/check-i18n.js",
"prepare": "husky",
"precommit:run": "npm run lint && npm run format:check && npm run test:i18n && npm run test",
"pre-commit": "npm run lint && npm run format:check && npm run test:i18n && npm run test:coverage"
},
"dependencies": {
"@babel/runtime": "7.28.4",
"@codemirror/autocomplete": "6.19.1",
"@codemirror/commands": "6.10.0",
"@codemirror/lang-javascript": "6.2.4",
"@codemirror/language": "6.11.3",
"@codemirror/lint": "6.9.2",
"@codemirror/search": "6.5.11",
"@codemirror/state": "6.5.2",
"@codemirror/theme-one-dark": "6.1.3",
"@codemirror/view": "6.38.6",
"@replit/codemirror-minimap": "0.5.2",
"assert": "^2.1.0",
"codemirror": "^6.0.2",
"diff": "^8.0.3",
"diff-match-patch": "^1.0.5",
"feather-icons": "4.29.2",
"fuzzysort": "^3.1.0",
"marked": "^17.0.0",
"path-browserify": "^1.0.1",
"webcrack": "^2.15.1"
},
"lint-staged": {
"*.{js,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml,css,html}": [
"prettier --write"
]
}
}