forked from danskernesdigitalebibliotek/dpl-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 6.47 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 6.47 KB
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
{
"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 ./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: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\"",
"build:doc": "doctoc README.md",
"build:storybook": "build-storybook -c .storybook -o dev",
"start:storybook:test": "NODE_ENV=test start-storybook --port 57021",
"start:storybook:dev": "NODE_ENV=development start-storybook --port 80",
"dev": "concurrently --raw \"yarn start:storybook:dev\" \"yarn watch:lint:scss\"",
"test": "cypress run",
"cypress:open": "cypress open",
"codegen:dbc:gateway": "CODEGEN_SCHEMA_AGENCY=775100 CODEGEN_SCHEMA_PROFILE=opac graphql-codegen --config dbc-gateway.codegen.yml",
"codegen:rest-services": "orval",
"codegen:client:fbs": "orval --project fbsAdapter",
"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",
"@bundle-analyzer/webpack-plugin": "^0.5.1",
"@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",
"@namics/stylelint-bem": "^7.0.0",
"@storybook/addon-controls": "^6.5.0-beta.7",
"@storybook/addon-docs": "^6.4.22",
"@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",
"@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-transform-react-remove-prop-types": "^0.4.24",
"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",
"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-74069894988c7d04a8adb733edbf9abd03ac6047",
"@reach/alert": "^0.17.0",
"@reach/dialog": "^0.17.0",
"@reduxjs/toolkit": "^1.8.1",
"clsx": "^1.1.1",
"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-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"
}
}