forked from jmerle/competitive-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.44 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
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
{
"name": "competitive-companion",
"productName": "Competitive Companion",
"version": "2.8.0",
"description": "Parses programming problems and sends them to various tools like CHelper and Hightail.",
"repository": "https://github.com/jmerle/competitive-companion",
"author": "Jasper van Merle",
"license": "MIT",
"private": true,
"scripts": {
"build": "webpack --progress --colors --mode=production",
"lint": "yarn lint:tslint && yarn lint:prettier && yarn lint:package",
"lint:tslint": "tslint -p tsconfig.json -c tslint.json -t stylish",
"lint:prettier": "prettier-check --ignore-path .gitignore '**/*.{ts,js,html,json}'",
"lint:package": "web-ext lint -s build/ -o text",
"watch": "yarn build --watch",
"package": "yarn build && web-ext build -s build/ -a dist/ -o",
"test": "jest",
"test:no-headless": "cross-env HEADLESS=false jest",
"test:coverage": "jest --coverage",
"start:firefox": "web-ext run -s build/ --start-url http://codeforces.com/problemset/problem/954/G --pref devtools.browserconsole.filter.jswarn=false --pref devtools.webconsole.filter.warn=false",
"start:chrome": "node scripts/chrome-launch",
"dev:firefox": "yarn build && concurrently 'yarn start:firefox' 'yarn watch' -n web-ext,webpack -c blue,yellow --kill-others",
"dev:chrome": "yarn build && concurrently 'yarn start:chrome' 'yarn watch' -n chrome,webpack -c blue,yellow --kill-others",
"prettier": "prettier --write --ignore-path .gitignore '**/*.{ts,js,html,json}'"
},
"dependencies": {
"cyrillic-to-translit-js": "2.2.0",
"nanobar": "0.4.2",
"pdfjs-dist": "2.0.943",
"snarkdown": "1.2.2",
"webextension-polyfill": "0.4.0"
},
"devDependencies": {
"@types/copy-webpack-plugin": "^5.0.0",
"@types/jest": "^24.0.13",
"@types/jest-environment-puppeteer": "^4.0.0",
"@types/jsdom": "^12.2.3",
"@types/node": "^12.0.4",
"@types/node-fetch": "^2.3.4",
"@types/puppeteer": "^1.12.4",
"chrome-launch": "^1.1.4",
"concurrently": "^4.1.0",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-puppeteer": "^4.2.0",
"jest-sonar-reporter": "^2.0.0",
"jsdom": "^15.1.1",
"lint-staged": "^8.1.7",
"node-fetch": "^2.6.0",
"prettier": "^1.17.1",
"prettier-check": "^2.0.0",
"puppeteer": "^1.17.0",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.2",
"ts-node": "^8.2.0",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.1",
"web-ext": "^3.0.0",
"web-ext-types": "^3.1.0",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"worker-loader": "^2.0.0"
},
"jest": {
"preset": "jest-puppeteer",
"testResultsProcessor": "jest-sonar-reporter",
"collectCoverageFrom": [
"src/**/*.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"jestSonar": {
"reportPath": "coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"yarn lint:tslint --fix",
"prettier --write",
"git add"
],
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
}
}