This repository has been archived by the owner on May 16, 2023. It is now read-only.
forked from itsfadnis/jsonapi-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 1.77 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
{
"name": "jsonapi-client",
"version": "3.0.2",
"main": "dist/model.js",
"types": "dist/model.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint **/*.ts --fix",
"test": "eslint **/*.ts && jest && yarn build",
"prepare": "yarn build"
},
"author": "Bang The Table",
"license": "ISC",
"description": "A convenient module to consume a jsonapi service",
"dependencies": {
"isomorphic-fetch": "^3.0.0",
"jsonapi-serializer": "git+https://github.com/itsfadnis/jsonapi-serializer.git"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/jsonapi-serializer": "^3.6.3",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^4.31.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jest": "^27.2.1",
"nock": "^12.0.3",
"prettier": "^2.0.4",
"ts-jest": "^27.0.5",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/itsfadnis/jsonapi-client.git"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
},
"collectCoverage": true,
"verbose": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": -10
}
},
"moduleNameMapper": {
"jsonapi-serializer/lib/serializer": "<rootDir>/test/__mocks__/serializer.ts",
"jsonapi-serializer/lib/deserializer": "<rootDir>/test/__mocks__/deserializer.ts"
},
"transform": {
".ts": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
]
},
"engines": {
"node": "14.17.*"
}
}