-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
65 lines (65 loc) · 1.72 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
{
"name": "infinite-minesweeper",
"version": "1.0.0",
"description": "Minesweeper on an infinte board",
"type": "module",
"directories": {
"test": "test"
},
"scripts": {
"dev": "vite dev",
"build": "vite build",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose --coverage",
"format": "prettier --write {src,tests}/**.{html,js,css}",
"lint": "eslint --fix src",
"gh-pages": "gh-pages -d dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ziap/infinite-minesweeper.git"
},
"bugs": {
"url": "https://github.com/ziap/infinite-minesweeper/issues"
},
"homepage": "infinite-minesweeper.vercel.app",
"devDependencies": {
"@types/jest": "^27.4.0",
"eslint": "^8.8.0",
"gh-pages": "^3.2.3",
"jest": "^27.5.1",
"jest-canvas-mock": "^2.3.1",
"prettier": "^2.5.1",
"vite": "^2.8.1"
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"jest-canvas-mock"
]
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-use-before-define": "error",
"eqeqeq": "error"
}
},
"prettier": {
"trailingComma": "none",
"tabWidth": 4,
"useTabs": false,
"semi": false,
"singleQuote": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"printWidth": 120
}
}