-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
97 lines (97 loc) · 2.36 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
{
"name": "@itsfadnis/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 && bundlesize",
"prepare": "yarn build"
},
"author": "Nikhil Fadnis",
"license": "ISC",
"description": "A convenient module to consume a jsonapi service",
"dependencies": {
"isomorphic-fetch": "^2.2.1",
"jsonapi-serializer": "git+https://github.com/itsfadnis/jsonapi-serializer.git"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^25.2.1",
"@types/jsonapi-serializer": "^3.6.3",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"bundlesize": "^0.18.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.2.7",
"nock": "^12.0.3",
"prettier": "^2.0.4",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"bundlesize": [
{
"path": "./dist/model.js",
"maxSize": "13 kB",
"compression": "none"
},
{
"path": "./dist/http-adapter.js",
"maxSize": "3.5 kB",
"compression": "none"
},
{
"path": "./dist/jsonapi-error.js",
"maxSize": "3.5 kB",
"compression": "none"
}
],
"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"
]
}
}