-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 1.99 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": "referral-link-inserter",
"license": "MIT",
"version": "1.0.0",
"repository": {
"url": "git+https://github.com/simwai/referral-link-inserter.git"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/chrome": "^0.0.266",
"@types/sinon": "^17.0.3",
"ava": "^6.1.2",
"bestzip": "^2.2.1",
"copyfiles": "^2.4.1",
"husky": "^9.0.11",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"tsx": "^4.7.2",
"xo": "^0.58.0"
},
"type": "module",
"scripts": {
"zip": "rimraf referral-link-inserter.zip && bestzip referral-link-inserter.zip dist",
"build": "rimraf dist && tsc && rimraf dist/tests/ && copyfiles -u 1 \"src/**/*.{html,json,png}\" dist",
"test": "rimraf dist && ava && rimraf dist/tests",
"lint": "xo --fix",
"format": "xo --fix --prettier"
},
"ava": {
"failFast": true,
"failWithoutAssertions": false,
"verbose": true,
"files": [
"./src/tests/*.test.ts"
],
"typescript": {
"rewritePaths": {
"src/": "dist/"
},
"compile": "tsc"
},
"concurrency": 3
},
"xo": {
"envs": [
"es2022",
"browser"
],
"space": true,
"semicolon": false,
"prettier": true,
"ignore": "./dist, ./node_modules",
"endOfLine": "lf",
"extensions": [
".ts"
],
"files": [
"./src/**/*.ts"
],
"rules": {
"no-await-in-loop": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-module": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/parameter-properties": "off",
"@typescript-eslint/explicit-member-accessibility": [
"error"
],
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/no-unsafe-call": "off",
"unicorn/prefer-array-some": "off",
"@typescript-eslint/no-unsafe-argument": "off"
}
}
}