-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.62 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
{
"name": "loti-request",
"version": "0.6.0",
"description": "React components to make http request declarative",
"author": "Frederic Godin",
"repository": "Epimodev/loti-request",
"license": "MIT",
"main": "module/index.js",
"module": "module/index.js",
"typings": "module/index.d.ts",
"keywords": [
"react",
"react-http",
"xhr",
"declarative",
"typescript"
],
"files": [
"src",
"module"
],
"scripts": {
"build": "rm -rf ./module && tsc",
"lint": "tslint -c tslint.json 'src/**/*.ts?(x)'",
"check-format": "prettier --list-different 'src/**/*.ts?(x)'",
"test": "jest",
"prepare": "yarn lint && yarn check-format && yarn build"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn check-format"
}
},
"dependencies": {
"query-string": "^6.4.2",
"shallow-equal": "^1.1.0",
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/query-string": "^6.3.0",
"@types/react": "^16.8.13",
"@types/react-test-renderer": "^16.8.1",
"husky": "^1.3.1",
"jest": "^24.7.1",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-test-renderer": "^16.8.6",
"ts-jest": "^24.0.2",
"tslint": "^5.15.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.4.2"
},
"peer-dependencies": {
"react": "^16.8.0"
},
"jest": {
"verbose": true,
"testURL": "http://localhost/",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "((\\.|/)(test))\\.(ts)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
]
}
}