This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
forked from danskernesdigitalebibliotek/dpl-react
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
165 lines (165 loc) · 7 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
{
"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": "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": "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:doc": "doctoc README.md",
"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": "concurrently --raw \"yarn start:storybook:dev\" \"yarn watch\"",
"test": "cypress run",
"cypress:open": "cypress open",
"codegen:dbc:gateway": "CODEGEN_SCHEMA_PROFILE=opac graphql-codegen -r dotenv/config --config dbc-gateway.codegen.yml",
"codegen:rest-services": "orval",
"codegen:client:fbs": "orval --project fbsAdapter",
"codegen:client:publizon": "orval --project publizonAdapter",
"codegen:client:dpl-cms": "orval --project dplCms",
"post-process-generated-graphql": "ts-node ./scripts/post-process-generated-graphql.ts"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/code-coverage": "^3.9.12",
"@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": "^7.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",
"@tsconfig/create-react-app": "^1.0.2",
"@types/node": "^17.0.31",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@types/react-redux": "^7.1.24",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"autoprefixer": "^10.4.7",
"babel-loader": "8.2.5",
"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.30001373",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.1.0",
"core-js": "^3.22.4",
"css-loader": "^6.7.1",
"cssnano": "^5.1.7",
"cypress": "^9.6.1",
"doctoc": "^2.2.0",
"eslint": "^8.15.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-webpack-plugin": "^3.1.1",
"glob": "^8.0.1",
"istanbul-lib-coverage": "^3.2.0",
"markdownlint-cli2": "^0.4.0",
"mutationobserver-shim": "^0.3.7",
"node-sass": "^7.0.1",
"nyc": "15.1.0",
"orval": "^6.8.1",
"postcss": "^8.4.13",
"postcss-cli": "^9.1.0",
"postcss-loader": "6.2.1",
"postcss-scss": "^4.0.4",
"prettier": "^2.6.2",
"replace-in-file": "^6.3.2",
"source-map-support": "^0.5.21",
"style-loader": "^3.3.1",
"stylelint": "^14.8.2",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-scss": "^6.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.2.0",
"stylelint-webpack-plugin": "^3.2.0",
"svg-url-loader": "^7.1.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.4",
"typescript-graphql-typed-files-modules": "^0.1.2",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"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": "0.0.0-2d4af063fa3e915fa99b1626820807af11d24b08",
"@reach/alert": "^0.17.0",
"@reach/dialog": "^0.17.0",
"@reduxjs/toolkit": "^1.8.1",
"@types/lodash": "^4.14.186",
"clsx": "^1.1.1",
"dayjs": "^1.11.3",
"downshift": "^6.1.7",
"graphql": "^16.5.0",
"graphql-tag": "^2.12.6",
"lodash": "^4.17.21",
"orval": "^6.8.1",
"prop-types": "^15.8.1",
"react": "^18.1.0",
"react-device-detect": "^2.2.2",
"react-dom": "^18.1.0",
"react-error-boundary": "^3.1.4",
"react-hook-inview": "^4.5.0",
"react-query": "^3.39.0",
"react-redux": "^8.0.1",
"redux": "^4.2.0",
"redux-persist": "^6.0.0",
"unfetch": "^4.2.0"
},
"peerDependencies": {
"postcss": "^8.4.13"
}
}