-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
107 lines (107 loc) · 2.55 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
{
"name": "@abraham/remotedata",
"version": "1.4.0",
"description": "Lightweight TypeScript RemoteData implementation",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"format": "prettier . --write",
"lint:eslint": "eslint src --ext .ts",
"lint:prettier": "prettier . --check",
"lint": "npm run lint:eslint && npm run lint:prettier",
"pkg-ok": "pkg-ok",
"prepare": "npm run build",
"prepublishOnly": "npm run pkg-ok",
"prettier": "prettier . --check",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abraham/remotedata.git"
},
"keywords": [
"typescript",
"remotedata",
"lightweight",
"micro",
"library"
],
"author": "Abraaham Williams <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/abraham/remotedata/issues"
},
"homepage": "https://github.com/abraham/remotedata#readme",
"devDependencies": {
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.0.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^28.0.0",
"jest": "^29.0.0",
"pkg-ok": "^3.0.0",
"prettier": "3.3.3",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"jest": {
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"diagnostics": {
"ignoreCodes": [
"TS2554",
"TS2345"
]
}
}
]
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.lint.json"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:import/errors",
"plugin:import/typescript",
"plugin:deprecation/recommended"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}