Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.88 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.88 KB
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
98
99
100
101
102
103
104
105
106
107
{
"name": "nampi-frontend",
"version": "0.6.15",
"private": true,
"dependencies": {
"//": "TODO: Replace with the original react-leaflet package after this [issue](https://github.com/PaulLeCam/react-leaflet/issues/891) is resolved.",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@headlessui/react": "^1.4.1",
"@tailwindcss/forms": "^0.3.4",
"@tailwindcss/postcss7-compat": "^2.2.16",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.2",
"@types/jsonld": "^1.5.6",
"@types/leaflet": "^1.7.5",
"@types/node": "^16.11.6",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.2",
"@types/uuid": "^8.3.1",
"autoprefixer": "^9",
"babel-plugin-react-intl": "^8.2.25",
"clsx": "^1.1.1",
"craco": "^0.0.3",
"date-fns": "^2.25.0",
"eslint-plugin-formatjs": "^2.18.0",
"focus-visible": "^5.2.0",
"fuse.js": "^6.4.6",
"husky": "^7.0.4",
"jsonld": "^5.2.0",
"keycloak-js": "^15.0.2",
"leaflet": "^1.7.1",
"lint-staged": "^11.2.6",
"nampi-use-api": "^0.6.2",
"postcss": "^7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.21.0",
"react-leaflet": "npm:@monsonjeremy/react-leaflet",
"react-markdown": "^7.1.0",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"remark-gfm": "^3.0.1",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"typescript": "^4.4.4",
"uuid": "^8.3.2",
"web-vitals": "^2.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"scripts": {
"start": "BROWSER=none craco start",
"build": "craco build",
"test": "craco test",
"eject": "craco eject",
"extract": "formatjs extract"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"plugins": [
"formatjs"
],
"rules": {
"formatjs/no-id": "error",
"formatjs/enforce-default-message": [
"error",
"literal"
],
"formatjs/enforce-description": [
"error",
"literal"
],
"formatjs/enforce-placeholders": "error",
"formatjs/no-camel-case": "off",
"formatjs/no-multiple-whitespaces": "error",
"formatjs/no-offset": "error"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}