-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 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
{
"name": "nampi-project-website",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-regular-svg-icons": "^5.15.3",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@headlessui/react": "^1.0.0",
"@tailwindcss/forms": "^0.3.2",
"@tailwindcss/postcss7-compat": "^2.1.2",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.4",
"@types/jest": "^26.0.22",
"@types/jsonld": "^1.5.5",
"@types/node": "^15.0.2",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"autoprefixer": "^9",
"babel-plugin-react-intl": "^8.2.25",
"clsx": "^1.1.1",
"craco": "^0.0.3",
"date-fns": "^2.21.2",
"eslint-plugin-formatjs": "^2.14.7",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"nampi-use-api": "^0.0.2",
"postcss": "^7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.16.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"typescript": "^4.2.4",
"web-vitals": "^1.1.1"
},
"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"
]
}
}