-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
98 lines (98 loc) · 2.28 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
{
"name": "@abraham/remotedata",
"version": "0.8.0",
"description": "Lightweight TypeScript RemoteData implementation",
"main": "dist/index.js",
"module": "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 <abraham@abrah.am>",
"license": "MIT",
"bugs": {
"url": "https://github.com/abraham/remotedata/issues"
},
"homepage": "https://github.com/abraham/remotedata#readme",
"devDependencies": {
"@types/jest": "26.0.20",
"@typescript-eslint/eslint-plugin": "4.17.0",
"@typescript-eslint/parser": "4.17.0",
"eslint": "7.21.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.2",
"jest": "26.6.3",
"pkg-ok": "2.3.1",
"prettier": "2.2.1",
"ts-jest": "26.5.3",
"typescript": "4.2.3"
},
"jest": {
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
"TS2554",
"TS2345"
]
}
}
}
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"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"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}