-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) · 1.66 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
{
"name": "react-use-data-loader",
"version": "0.0.3",
"description": "React hook for loading data",
"main": "dist/index.js",
"typings": "./index.d.ts",
"repository": "git@github.com:smmoosavi/react-use-data-loader.git",
"author": "Seyyed Morteza Moosavi <se.mo.moosavi@gmail.com>",
"license": "MIT",
"files": [
"dist",
"src",
"index.d.ts"
],
"keywords": [
"react",
"react-hooks",
"load-data"
],
"scripts": {
"clean": "rimraf lib dist es coverage",
"test": "jest",
"build": "babel src --out-dir dist",
"format": "prettier --write '{src,test}/**/*.js'",
"format:check": "prettier --list-different '{src,test}/**/*.js'",
"lint": "eslint src test",
"prepare": "npm run clean && npm run format:check && npm run lint && npm test && npm run build"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-jsx": "^6.0.2",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-standard": "^4.0.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:check && npm run lint && npm test"
}
},
"jest": {
"testRegex": "(/test/.*\\.test.js)$",
"collectCoverage": true
}
}