-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
50 lines (50 loc) · 1.35 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
{
"name": "react-hook-geolocation",
"version": "1.1.0",
"description": "React hook for geolocation access",
"keywords": [
"react",
"hook",
"geolocation"
],
"repository": "[email protected]:bence-toth/react-hook-geolocation.git",
"license": "MIT",
"author": "Bence A. Toth <[email protected]>",
"main": "dist/index.js",
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:jsx-a11y/recommended",
"plugin:sonarjs/recommended"
]
},
"scripts": {
"build": "rm -rf dist && babel src --out-dir dist && cp ./src/index.d.ts ./dist && rm ./dist/index.test.js",
"lint": "eslint \"src/**/*.{js,jsx}\"",
"prettier": "prettier --check .",
"test": "jest --passWithNoTests",
"test:coverage": "npm test -- --coverage --watchAll=false"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@testing-library/react": "^13.3.0",
"eslint": "^8.21.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-sonarjs": "^0.14.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"react": "^18.2.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18"
},
"files": [
"/dist"
]
}