This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
generated from navikt/podlet-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.43 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
{
"name": "podlet-vta-okonomi",
"version": "1.0.0",
"private": true,
"dependencies": {
"@craco/craco": "6.2.0",
"@metrics/prometheus-consumer": "3.0.1",
"@podium/podlet": "4.4.37",
"classnames": "2.3.1",
"craco-less": "1.18.0",
"express": "4.17.1",
"less": "3.13.1",
"nav-frontend-chevron": "1.0.30",
"nav-frontend-chevron-style": "1.0.4",
"nav-frontend-core": "5.1.1",
"nav-frontend-js-utils": "1.0.19",
"nav-frontend-knapper": "2.1.4",
"nav-frontend-knapper-style": "1.1.2",
"nav-frontend-lenker": "1.1.2",
"nav-frontend-lenker-style": "1.1.1",
"nav-frontend-paneler": "2.1.2",
"nav-frontend-paneler-style": "1.1.1",
"nav-frontend-typografi": "3.1.2",
"nav-frontend-typografi-style": "1.1.1",
"prom-client": "13.2.0",
"prop-types": "15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"swr": "0.5.6"
},
"devDependencies": {
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
"@types/jest": "26.0.24",
"@types/node": "14.17.9",
"@types/react": "17.0.18",
"@types/react-dom": "17.0.9",
"eslint-plugin-jsx-a11y": "6.4.1",
"husky": "5.2.0",
"lint-staged": "10.5.4",
"msw": "0.34.0",
"prettier": "2.3.2",
"react-scripts": "4.0.3",
"types": "0.1.1",
"typescript": "4.3.5"
},
"scripts": {
"start": "NODE_ENV=development craco start",
"build": "craco build",
"test": "npm run lint && craco test",
"test-ci": "npm run lint && CI=true craco test",
"refresh": "rm -rf node_modules && rm package-lock.json && npm i",
"typeCheck": "tsc",
"lint": "eslint --ext .tsx,.js,.ts,.jsx src",
"podlet": "node podlet.js",
"bump": "npx npm-check-updates --target minor -u && npm i"
},
"eslintConfig": {
"plugins": [
"jsx-a11y"
],
"extends": [
"react-app",
"react-app/jest",
"plugin:jsx-a11y/recommended"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"printWidth": 120
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run typeCheck && npm run test-ci"
}
},
"lint-staged": {
"*.{js,jsx,json,md,ts,tsx}": "prettier --write"
}
}