forked from danskernesdigitalebibliotek/dpl-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
180 lines (180 loc) · 7.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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "@danskernesdigitalebibliotek/dpl-react",
"version": "0.0.1-rc.2",
"license": "AGPL-3.0-only",
"repository": "git://github.com/danskernesdigitalebibliotek/dpl-react.git",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"engines": {
"node": ">=12.13.0",
"yarn": ">=1.17.3"
},
"scripts": {
"fmt": "prettier --config ./.prettierrc --write \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:js": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --max-warnings 0 --cache --cache-location \".cache/eslint/\" ./src",
"lint:js:fix": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx --fix ./src",
"lint:markdown": "markdownlint-cli2",
"lint:markdown:fix": "markdownlint-cli2-fix",
"lint:scss": "stylelint \"./src/**/*.scss\"",
"lint:scss:fix": "stylelint --fix \"./src/**/*.scss\"",
"lint": "yarn lint:js && yarn lint:scss && yarn lint:markdown",
"clean": "rm -r -f ./dist/* ./dev/* ./coverage/*",
"build": "npx concurrently --raw \"yarn clean\" \"yarn lint:scss:fix\" \"yarn build:js:prod\" \"yarn build:css:prod\"",
"build:js:dev": "webpack --mode=development --config webpack.config.js",
"build:js:prod": "NODE_ENV=production webpack --mode=production --config webpack.config.js",
"build:css:dev": "postcss ./src/apps/**/*.scss ./src/components/components.scss --ext css --dir ./dist",
"build:css:prod": "postcss ./src/apps/**/*.scss ./src/components/components.scss --no-map --ext css --dir ./dist --env production",
"watch": "npx concurrently --raw \"yarn watch:lint:js\" \"yarn watch:lint:scss\"",
"watch:css": "postcss ./src/apps/**/*.scss ./src/components/components.scss --ext css --dir ./dist --watch",
"watch:lint:scss": "chokidar \"./src/**/*.scss\" -c \"yarn lint:scss:fix\"",
"watch:lint:js": "chokidar \"./src/**/*.{js,jsx,ts,tsx}\" -c \"yarn lint:js\"",
"build:storybook": "build-storybook -c .storybook -o dev",
"start:storybook:test": "NODE_ENV=test start-storybook --port 57021 --quiet --ci",
"start:storybook:dev": "NODE_ENV=development start-storybook --port 80",
"dev": "npx concurrently --raw \"yarn start:storybook:dev\" \"yarn watch\"",
"test:unit": "vitest",
"test:integration": "cypress run",
"cypress:open": "cypress open",
"codegen:dbc:gateway": "CODEGEN_SCHEMA_PROFILE=next graphql-codegen -r dotenv/config --config dbc-gateway.codegen.yml",
"codegen:rest-services": "orval",
"codegen:client:fbs": "rm -rf src/core/fbs/model/*.* && orval --project fbsAdapter",
"codegen:client:cover": "rm -rf src/core/cover-service-api/model/*.* && orval --project coverService",
"codegen:client:publizon": "rm -rf src/core/publizon/model/*.* && orval --project publizonAdapter",
"codegen:client:dpl-cms": "rm -rf src/core/dpl-cms/model/*.* && orval --project dplCms",
"post-process-generated-graphql": "ts-node ./scripts/post-process-generated-graphql.ts"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@csstools/postcss-sass": "^5.1.1",
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/code-coverage": "^3.12.37",
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/typescript": "^2.4.11",
"@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
"@graphql-codegen/typescript-operations": "^2.4.0",
"@graphql-codegen/typescript-react-query": "^3.5.12",
"@graphql-typed-document-node/core": "^3.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@namics/stylelint-bem": "^10.0.0",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addon-queryparams": "^6.2.9",
"@storybook/builder-webpack5": "^6.5.0-beta.7",
"@storybook/manager-webpack5": "^6.5.0-beta.7",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^6.5.0-beta.7",
"@testing-library/dom": "^9.3.4",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^8.0.1",
"@tsconfig/create-react-app": "^1.0.2",
"@types/node": "^20.12.7",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/react-flatpickr": "^3.8.11",
"@types/react-redux": "^7.1.24",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^7.7.1",
"@vitest/coverage-istanbul": "^1.5.2",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"caniuse-lite": "^1.0.30001614",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"core-js": "^3.37.0",
"css-loader": "^7.1.1",
"cssnano": "^7.0.1",
"cypress": "^9.6.1",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-webpack-plugin": "^4.1.0",
"glob": "^8.0.1",
"happy-dom": "^14.7.1",
"istanbul-lib-coverage": "^3.2.2",
"markdownlint-cli2": "^0.4.0",
"mutationobserver-shim": "^0.3.7",
"nyc": "^15.1.0",
"orval": "^6.26.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-loader": "^8.1.1",
"postcss-scss": "^4.0.9",
"prettier": "^2.6.2",
"replace-in-file": "^6.3.2",
"sass": "^1.77.1",
"source-map-support": "^0.5.21",
"style-loader": "^4.0.0",
"stylelint": "^15.11.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended-scss": "^6.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^6.2.1",
"stylelint-webpack-plugin": "^5.0.0",
"svg-url-loader": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^4.6.4",
"vitest": "^0.28.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-version-file-plugin": "^0.4.0"
},
"//dependencies": {
"@danskernesdigitalebibliotek/dpl-design-system": "Is being used for being able to see the dpl-design-system styling in Storybook and potentially use icons",
"prop-types": "Since we use former ddb-react components that depend on prop-types we keep this. Should be removed when usage of prop-types is deprecated."
},
"dependencies": {
"@danskernesdigitalebibliotek/dpl-design-system": "^2024.20.1-dbc6110e263c0be00ca1fc8350a4cf6330ade2e0",
"@fullcalendar/core": "^6.1.11",
"@fullcalendar/daygrid": "^6.1.11",
"@fullcalendar/interaction": "^6.1.11",
"@fullcalendar/react": "^6.1.11",
"@fullcalendar/timegrid": "^6.1.11",
"@reach/alert": "^0.17.0",
"@reach/dialog": "^0.18.0",
"@reduxjs/toolkit": "^1.9.7",
"@types/lodash": "^4.17.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.11",
"downshift": "8.5.0",
"focus-trap-react": "^10.2.3",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.3.1",
"react-error-boundary": "^3.1.4",
"react-flatpickr": "^3.10.13",
"react-query": "^3.39.3",
"react-redux": "^8.1.3",
"react-use": "^17.5.0",
"redux": "^4.2.1",
"redux-persist": "^6.0.0",
"unfetch": "^4.2.0"
},
"peerDependencies": {
"postcss": "^8.4.38"
}
}