-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
80 lines (80 loc) · 3.75 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
{
"name": "nav-enonicxp-frontend",
"version": "1.2.1",
"private": true,
"scripts": {
"build": "npm run build:server && npm run build:nextjs && npm run build:storybook",
"build:nextjs": "npm run build --workspace packages/nextjs",
"build:server": "npm run build --workspace packages/server",
"build:storybook": "npm run build:storybook --workspace packages/nextjs",
"start": "npm run start --workspace packages/server",
"start-in-docker": "node -r dotenv/config server/.dist/server.cjs dotenv_config_path=./.env",
"storybook": "npm run storybook --workspace packages/nextjs",
"dev": "npm run copy-env-development && rm -fr packages/nextjs/.next && npm run build:server && npm run start",
"dev-custom": "npm run copy-env-development-custom && npm run build && npm run start",
"dev-server": "npm run copy-env-prod-local && npm run dev --workspace packages/server",
"build-local": "npm run copy-env-prod-local && npm run build",
"start-local": "npm run copy-env-prod-local && npm run start",
"start-clean": "rm -fr packages/nextjs/.next && npm run build-local && npm run start-local",
"build-local-failover": "npm run copy-env-prod-local && IS_FAILOVER_INSTANCE=true npm run build",
"start-local-failover": "npm run start-local-failover --workspace packages/nextjs",
"start-clean-failover": "rm -fr .next-static && npm run build-local-failover && npm run start-local-failovernpm run start-clean-failover --workspace packages/nextjs",
"analyze-bundle": "npm run analyze-bundle --workspace packages/nextjs",
"lint": "npm-run-all --parallel lint:*",
"lint:client": "npm run lint --workspace packages/nextjs",
"lint:server": "npm run lint --workspace packages/server",
"test": "npm-run-all --parallel test:*",
"test:client": "npm run test --workspace packages/nextjs",
"test:server": "npm run test --workspace packages/server",
"prepare": "husky || true",
"copy-env-prod-local": "cp .env.prod-local packages/nextjs/.env && cp .env.prod-local packages/server/.env",
"copy-env-development": "cp .env.development packages/nextjs/.env && cp .env.development packages/server/.env",
"copy-env-development-custom": "cp .env.development.local packages/nextjs/.env && cp .env.development.local packages/server/.env"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@next/bundle-analyzer": "14.2.15",
"@next/eslint-plugin-next": "14.2.4",
"@types/escape-html": "1.0.4",
"@types/lodash.debounce": "4.0.9",
"@types/mock-fs": "4.13.4",
"@types/node": "20.14.10",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"esbuild": "0.25.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-nibble": "8.1.0",
"eslint-plugin-css-modules": "2.12.0",
"eslint-plugin-no-relative-import-paths": "1.6.1",
"eslint-plugin-prettier": "5.2.3",
"husky": "9.1.7",
"prettier": "3.5.2",
"typescript": "5.7.3",
"typescript-plugin-css-modules": "5.1.0"
},
"browserslist": {
"production": [
">0.2% in no",
"iOS >= 11",
"safari >= 11",
"not dead",
"not op_mini all",
"not ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@navikt/nav-dekoratoren-moduler": "3.2.2",
"lru-cache": "11.0.2",
"pino": "9.6.0",
"pino-pretty": "12.1.0",
"redis": "4.7.0"
}
}