-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
85 lines (85 loc) · 1.86 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
{
"name": "jsapi-cli-vitest",
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"prettier": "prettier --write \"src/**/*.ts?(x)\"",
"lint": "eslint . --ext .js,.ts,.tsx --fix",
"test": "vitest",
"coverage": "vitest run --coverage",
"precommit": "lint-staged"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"ignorePatterns": [
"vite.config.js",
"*.d.ts",
"dist/",
"__mocks__"
],
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/ban-ts-comment": 1,
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_|^h"
}
]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120,
"tabWidth": 2
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"c8": "^7.11.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"lint-staged": "^12.1.2",
"prettier": "^2.4.1",
"typescript": "^4.3.2",
"vite": "^2.5.4",
"vite-plugin-pwa": "^0.12.0",
"vitest": "^0.9.3"
},
"dependencies": {
"@arcgis/core": "~4.23.0"
},
"arcgis": {
"type": "vite"
}
}