-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
129 lines (129 loc) · 4.23 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
{
"name": "bibliotekdk-next-frontend",
"version": "1.0.0",
"description": "The frontend for bibliotek.dk",
"main": "index.js",
"scripts": {
"dev:next": "NODE_OPTIONS='--require ./logger' next -p ${PORT:-3000}",
"build:next": "next build",
"build:next:no:lint": "next build --no-lint",
"build:next:no:lint:f": "run-s -l build:next:no:lint",
"start:next": "NODE_OPTIONS='--require ./logger' next start -p ${PORT:-3000}",
"dev:storybook": "STORYBOOK_ACTIVE=1 storybook dev -s ../public -p \"${STORYBOOK_PORT:-4000}\"",
"build:storybook": "STORYBOOK_ACTIVE=1 storybook build -c .storybook -o dist/storybook --quiet && cp -r public/* dist/storybook/",
"build:storybook:f": "run-s -l build:storybook",
"start:storybook": "STORYBOOK_ACTIVE=1 && ENABLE_STORYBOOK=1 && http-server -p \"${STORYBOOK_PORT:-4000}\" dist/storybook --silent || exit 0",
"dev": "run-p dev:storybook dev:next",
"start": "run-p start:storybook start:next",
"prettier": "prettier --write 'src/**/*' 'e2e/**/*.js'",
"prettier:check": "prettier --check src",
"prettier:check:f": "run-s -l prettier:check",
"lint": "next lint",
"lint:f": "run-s -l lint",
"lint:cacheclearing": "next lint --no-cache",
"find:unused": "next-unused",
"cy:run": "npx cypress run --project ./",
"cy:open": "npx cypress open --project ./",
"test": "jest src/",
"test:f": "run-s -l test",
"format:lint:test": "run-p -l prettier:check lint test",
"format:lint:test:storybook:build": "run-p -l prettier:check lint test build:storybook build:next:no:lint",
"postinstall": "npx --yes @dbcdk/npm-tools@latest verify latest"
},
"next-unused": {
"debug": false,
"alias": {
"@": "src"
},
"include": [
"src/components",
"src/css",
"src/lib",
"src/pages",
"src/scss",
"src/stories",
"src/utils"
],
"exclude": [
".test.",
".stories.",
".fixture.",
"mockedFetcher.js",
"Storybook.js",
"Storybook.module.css",
"invertColor.js",
"src/components/base/color/*",
"src/components/base/bookmark/*",
"src/components/base/storybook/index.js"
],
"entrypoints": [
"src/pages"
]
},
"author": "Frontend @ DBC",
"license": "GNU",
"devDependencies": {
"@graphql-tools/mock": "^8.6.1",
"@graphql-tools/schema": "^8.3.3",
"@storybook/addon-a11y": "^7.0.25",
"@storybook/addon-actions": "^7.0.25",
"@storybook/nextjs": "^7.0.25",
"@storybook/react": "^7.0.25",
"@svgr/webpack": "^8.0.1",
"@testing-library/jest-dom": "^5.16.5",
"babel-jest": "^27.4.6",
"css-loader": "^6.8.1",
"cypress-plugin-tab": "^1.0.5",
"eslint": "^8.25.0",
"eslint-config-next": "^14.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-storybook": "^0.6.12",
"graphql": "^15.8.0",
"jest": "^26.6.0",
"next-unused": "^0.0.6",
"prettier": "^2.3.2",
"sass-loader": "^13.3.2",
"storybook": "^7.0.25",
"style-loader": "^3.3.3"
},
"dependencies": {
"@dbcdk/login-nextjs": "^4.0.4",
"@rooks/use-mutation-observer": "^4.11.0",
"autosuggest-highlight": "^3.1.1",
"bootstrap": "^5.2.3",
"classnames": "^2.3.2",
"dbc-node-logger": "^2.0.9",
"get-browser-fingerprint": "^3.2.0",
"http-server": "^0.12.3",
"identity-obj-proxy": "^3.0.0",
"isbot": "^3.0.13",
"isomorphic-unfetch": "^3.0.0",
"js-cookie": "^2.2.1",
"jsonwebtoken": "^9.0.0",
"lazysizes": "^5.2.2",
"lodash": "^4.17.21",
"next": "^14.2.13",
"next-auth": "^4.24.5",
"nookies": "^2.5.2",
"npm-run-all": "^4.1.5",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-aria": "^3.32.1",
"react-autosuggest": "^10.1.0",
"react-bootstrap": "^2.7.2",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-focus-lock": "^2.9.6",
"react-intersection-observer": "^8.34.0",
"react-simple-code-editor": "^0.13.1",
"sass": "^1.54.5",
"smoothscroll-polyfill": "^0.4.4",
"swr": "^2.2.5",
"unfetch": "^4.1.0",
"uuid": "^8.3.2"
}
}