This repository has been archived by the owner on May 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 2.81 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
112
113
114
115
116
117
118
119
120
{
"name": "@larrywho11/tic-tac-toe",
"version": "1.0.3",
"description": "A tic-tac-toe engine.",
"main": "index.ts",
"scripts": {
"test": "jest tests/**.test.ts",
"lint": "eslint **/*.ts",
"fix": "eslint **/*.ts --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/larapollehn/Tic-Tac-Toe-Engine.git"
},
"keywords": ["Tic Tac Toe"],
"author": "Lara Pollehn",
"license": "ISC",
"devDependencies": {
"@jest/globals": "^26.4.1",
"@types/jest": "^26.0.13",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.11.0",
"jest": "^26.6.1",
"jest-expect-message": "^1.0.2",
"ts-jest": "^26.3.0",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
},
"jest": {
"setupFilesAfterEnv": [
"jest-expect-message"
],
"verbose": true,
"testTimeout": 30000,
"roots": [
"<rootDir>/tests"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"env": {
"node": true,
"commonjs": true,
"es2020": true
},
"extends": [
"eslint:recommended",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"quotes": [
2,
"double"
],
"@typescript-eslint/no-var-requires": 0,
"no-unused-vars": 0,
"prefer-const": "error",
"no-useless-constructor": "error",
"no-console": "error",
"no-empty": "error",
"no-irregular-whitespace": "error",
"no-unreachable": "error",
"no-unsafe-negation": "error",
"array-callback-return": "error",
"block-scoped-var": "error",
"default-case": "warn",
"eqeqeq": "error",
"dot-notation": 0,
"no-else-return": [
"error",
{
"allowElseIf": false
}
],
"no-lone-blocks": "error",
"no-param-reassign": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-useless-concat": "error",
"no-warning-comments": "error",
"no-const-assign": "error",
"radix": "error",
"yoda": "error",
"capitalized-comments": [
"error"
],
"comma-dangle": [
"error",
"never"
],
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
"no-var": "error",
"no-prototype-builtins": "off"
}
}
}