-
Notifications
You must be signed in to change notification settings - Fork 123
/
package.json
77 lines (77 loc) · 3.2 KB
/
package.json
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
{
"name": "competitive-companion",
"productName": "Competitive Companion",
"version": "2.57.1",
"description": "Parses competitive programming problems and sends them to various tools like CP Editor and CPH.",
"repository": "https://github.com/jmerle/competitive-companion",
"author": "Jasper van Merle",
"license": "MIT",
"type": "module",
"private": true,
"scripts": {
"build": "pnpm run \"/^build:.*/\"",
"build:chrome": "tsx scripts/build/extension.ts chrome true false",
"build:firefox": "tsx scripts/build/extension.ts firefox true false",
"build:test": "tsx scripts/build/test.ts",
"watch:chrome": "tsx scripts/build/extension.ts chrome false true",
"watch:firefox": "tsx scripts/build/extension.ts firefox false true",
"package": "pnpm run \"/^package:.*/\"",
"package:chrome": "pnpm build:chrome && web-ext build -s build-chrome/ -a dist/ -o -n {name}-{version}-chrome.zip",
"package:firefox": "pnpm build:firefox && web-ext build -s build-firefox/ -a dist/ -o -n {name}-{version}-firefox.zip",
"generate-banners": "tsx scripts/generate-banners.ts",
"lint": "pnpm run \"/^lint:.*/\"",
"lint:eslint": "eslint --format codeframe \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/**/*.ts\" jest.config.ts",
"lint:prettier": "prettier --check --ignore-path .gitignore \"**/*.{ts,js,html,yml,json}\"",
"lint:tsc": "tsc --noEmit",
"lint:package": "pnpm build:firefox && web-ext lint -s build-firefox/ -o text",
"fix": "pnpm run --sequential \"/^fix:.*/\"",
"fix:eslint": "pnpm lint:eslint --fix",
"fix:prettier": "prettier --write --ignore-path .gitignore \"**/*.{ts,js,html,yml,json}\"",
"test": "pnpm build:test && jest tests/parsers.spec.ts",
"test:no-headless": "cross-env HEADLESS=false pnpm test",
"start:chrome": "tsx scripts/start/chrome.ts",
"start:firefox": "tsx scripts/start/firefox.ts",
"dev:chrome": "rimraf build-chrome && concurrently \"pnpm start:chrome\" \"pnpm watch:chrome\" -n chrome,build -c blue,yellow --kill-others",
"dev:firefox": "rimraf build-firefox && concurrently \"pnpm start:firefox\" \"pnpm watch:firefox\" -n firefox,build -c blue,yellow --kill-others"
},
"dependencies": {
"cyrillic-to-translit-js": "3.2.1",
"jszip": "3.10.1",
"nanobar": "0.4.2",
"p-limit": "6.1.0",
"pdfjs-dist": "4.2.67",
"snarkdown": "2.0.0"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/webextension-polyfill": "^0.12.1",
"chrome-launcher": "^1.1.2",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.31.0",
"generic-pool": "^3.9.0",
"globals": "^15.12.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"puppeteer": "^23.8.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0",
"web-ext": "^8.3.0"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120,
"arrowParens": "avoid"
}
}