This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
151 lines (151 loc) · 5.2 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "nav-dekoratoren",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "npm-run-all -p -r build-and-watch start-server-and-watch typecheck-watch",
"start-server": "node build/server.js",
"start-server-and-watch": "nodemon build/server.js",
"lint-and-build": "npm run typecheck && npm run lint && webpack --config webpack.config.js",
"build-prod": "NODE_ENV=production npm run lint-and-build",
"build-dev": "NODE_ENV=development npm run lint-and-build",
"build-and-watch": "NODE_ENV=development webpack --config webpack.config.js --watch",
"test": "jest",
"typecheck": "tsc --noemit",
"typecheck-watch": "tsc -watch",
"lint": "eslint ./src --ext .js,.ts,.tsx",
"docker-build": "docker build . -t navikt/nav-dekoratoren",
"docker-push": "docker push navikt/nav-dekoratoren",
"docker-start": "docker run --rm -p 8088:8088 navikt/nav-dekoratoren",
"prepare": "husky install",
"analyze-bundle": "ANALYZE=true npm run build-prod"
},
"repository": {
"type": "git",
"url": "git+https://github.com/navikt/nav-dekoratoren.git"
},
"bugs": {
"url": "https://github.com/navikt/nav-dekoratoren/issues"
},
"dependencies": {
"@navikt/ds-css": "5.4.1",
"@navikt/ds-icons": "3.4.3",
"@navikt/ds-react": "5.4.1",
"@navikt/ds-tokens": "5.4.1",
"@navikt/nav-dekoratoren-moduler": "2.1.3",
"@promster/express": "7.0.6",
"amplitude-js": "8.21.9",
"classnames": "2.3.2",
"compression": "1.7.4",
"console-stamp": "3.1.1",
"csp-header": "5.1.0",
"dayjs": "1.11.7",
"dotenv": "16.0.3",
"express": "4.18.2",
"express-urlrewrite": "2.0.1",
"js-cookie": "3.0.5",
"lodash.debounce": "4.0.8",
"node-cache": "5.1.2",
"object-hash": "3.0.0",
"react": "18.2.0",
"react-content-loader": "6.2.1",
"react-cookie": "4.1.1",
"react-dom": "18.2.0",
"react-redux": "8.0.5",
"redux": "4.2.1",
"universal-cookie-express": "4.0.3",
"unleash-client": "4.1.1"
},
"devDependencies": {
"@babel/cli": "7.21.5",
"@babel/core": "7.21.8",
"@babel/plugin-transform-modules-commonjs": "7.21.5",
"@babel/preset-env": "7.21.5",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.5",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@types/amplitude-js": "8.16.2",
"@types/classnames": "2.3.1",
"@types/compression": "1.7.2",
"@types/express": "4.17.17",
"@types/jest": "29.5.1",
"@types/js-cookie": "3.0.3",
"@types/lodash.debounce": "4.0.7",
"@types/node": "18.16.3",
"@types/object-hash": "3.0.2",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.1",
"@types/react-redux": "7.1.25",
"@types/svgo": "3.0.0",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"autoprefixer": "10.4.14",
"babel-eslint": "10.1.0",
"babel-jest": "29.5.0",
"babel-loader": "9.1.2",
"babel-preset-react-app": "10.0.1",
"css-loader": "6.7.3",
"css-minimizer-webpack-plugin": "5.0.0",
"eslint": "8.39.0",
"eslint-plugin-css-modules": "2.11.0",
"eslint-plugin-react": "7.32.2",
"file-loader": "6.2.0",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"lint-staged": "13.2.2",
"mini-css-extract-plugin": "2.7.5",
"modify-selectors": "2.0.0",
"nodemon": "2.0.22",
"npm-run-all": "4.1.5",
"postcss-loader": "7.3.0",
"postcss-prefix-selector": "1.16.0",
"prettier": "2.8.8",
"sass": "1.62.1",
"sass-loader": "13.2.2",
"svgo-loader": "4.0.0",
"typescript": "5.0.4",
"typescript-plugin-css-modules": "5.0.1",
"webpack": "5.81.0",
"webpack-bundle-analyzer": "4.8.0",
"webpack-cli": "5.0.2",
"webpack-node-externals": "3.0.0"
},
"jest": {
"rootDir": ".",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"\\.(css|jpg|png|svg|less|module.scss|scss)$": "<rootDir>/src/utils/jest/styleMock.js",
"nav-(.*)-style": "<rootDir>/src/utils/jest/styleMock.js"
},
"testEnvironment": "jsdom"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"ie 11"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint",
"*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"singleQuote": true
}
}