-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
173 lines (173 loc) · 6.5 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
{
"name": "@amsterdam/bmi-dms-upload",
"version": "2.0.4",
"description": "A document upload flow that can be implemented in any BMI React application. Documents are stored in DMS. Metadata can be added in the flow.",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"xprepare": "npm run build:ts:es && npm run build:ts && husky install",
"start": "npm run storybook",
"serve": "npm-run-all --parallel serve:mock-api serve:app",
"serve:app": "webpack serve --config webpack.dev.conf.js",
"serve:app:open": "webpack serve --config webpack.dev.conf.js --open",
"serve:mock-api": "json-server --watch db.json",
"build": "npm-run-all --parallel build:ts build:ts:es build:types",
"build:ts:es": "swc ./src --out-dir $PWD/es --config-file ./swc.config.build.es.json",
"build:ts": "swc ./src --out-dir $PWD/lib --config-file ./swc.config.build.json",
"build:ts:watch": "swc ./src --out-dir $PWD/lib --config-file ./swc.config.build.json -w",
"build:ts:es:watch": "swc ./src --out-dir $PWD/es --config-file ./swc.config.build.es.json -w",
"build:types": "npx -p typescript tsc --project tsconfig.build.types.json && npx -p typescript tsc --project tsconfig.build.es.types.json",
"test": "jest --silent",
"test:watch": "jest --watch",
"lint": "npm-run-all --parallel lint:js lint:css lint:types",
"lint:js": "eslint --ignore-path .eslintignore -c .eslintrc.js \"src/**/*.{ts,tsx,js,jsx}\" \"tests/**/*.{ts,tsx,js,jsx}\"",
"lint:css": "stylelint --config-basedir ./ --ignore-path .stylelintignore --config .stylelintrc.js \"src/**/*.{tsx,ts}\"",
"lint:types": "tsc --noEmit",
"fix": "npm-run-all --parallel fix:js fix:css",
"fix:js": "eslint --fix --ignore-path .eslintignore -c .eslintrc.js \"src/**/*.{ts,tsx,js,jsx}\" \"tests/**/*.{ts,tsx,js,jsx}\"",
"ci:test": "jest --ci --silent --reporters=default",
"ci:eslint": "eslint --ignore-path .eslintignore -c .eslintrc.js \"src/**/*.{ts,tsx,js,jsx}\" \"tests/**/*.{ts,tsx,js,jsx}\" --format junit --output-file reports/eslint.xml",
"ci:stylelint": "npm run stylelint -- --quiet --custom-formatter node_modules/stylelint-junit-formatter > reports/stylelint.xml",
"ci:lint": "npm-run-all --parallel --silent --continue-on-error ci:eslint ci:stylelint",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"commit": "cz",
"release": "standard-version"
},
"repository": {
"type": "git",
"url": "[email protected]:Amsterdam/bmi-dms-upload.git"
},
"keywords": [
"dms",
"upload",
"bmi",
"asc",
"react",
"component",
"material-ui"
],
"author": "Gemeente Amsterdam",
"license": "MPL-2.0",
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@storybook/addon-a11y": "^7.2.1",
"@storybook/addon-actions": "^7.2.1",
"@storybook/addon-docs": "^7.2.1",
"@storybook/addon-essentials": "^7.2.1",
"@storybook/addon-links": "^7.2.1",
"@storybook/react": "^7.1.1",
"@storybook/react-webpack5": "^7.2.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.74",
"@swc/jest": "^0.2.28",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/debounce": "^1.2.1",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3",
"@types/redux-mock-store": "^1.0.3",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"autoprefixer": "^10.4.14",
"clean-webpack-plugin": "^4.0.0",
"commitizen": "^4.2.4",
"css-loader": "^3.6.0",
"css-minimizer-webpack-plugin": "^4.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.46.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-storybook": "^0.6.13",
"eslint-plugin-testing-library": "^5.11.1",
"eslint-webpack-plugin": "^4.0.1",
"handlebars": "^4.7.7",
"handlebars-loader": "^1.7.2",
"husky": "^6.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jest-junit": "^16.0.0",
"jest-styled-components": "^7.1.1",
"json-server": "^0.17.0",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"postcss-loader": "^7.0.1",
"prettier": "^2.7.1",
"react-select-event": "^5.5.0",
"standard-version": "^9.5.0",
"storybook": "^7.2.1",
"storybook-addon-swc": "^1.2.0",
"style-loader": "^3.3.1",
"stylelint": "^13.13.1",
"stylelint-cli": "^1.3.0",
"stylelint-config-recommended": "^5.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-junit-formatter": "^0.2.2",
"stylelint-processor-styled-components": "^1.10.0",
"terser-webpack-plugin": "^5.3.9",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"url-loader": "^4.1.1",
"webpack": "^5.88.2",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1",
"yup": "^0.32.11"
},
"dependencies": {
"@amsterdam/asc-assets": "^0.36.0",
"@amsterdam/asc-ui": "^0.36.0",
"@amsterdam/bmi-component-library": "^2.0.2",
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@jsonforms/core": "3.0.0",
"@jsonforms/material-renderers": "3.0.0",
"@jsonforms/react": "3.0.0",
"@jsonforms/vanilla-renderers": "3.0.0",
"@mui/material": "^5.9.0",
"@mui/styled-engine-sc": "^5.8.0",
"@reduxjs/toolkit": "^1.8.3",
"ajv": "^8.7.1",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1",
"debounce": "^1.2.1",
"polished": "^4.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.5",
"react-router-dom": "^5.3.3",
"react-router-dom-v5-compat": "^6.3.0",
"redux": "^4.2.0",
"redux-devtools-extension": "^2.13.9",
"redux-first-history": "^5.0.8",
"redux-mock-store": "^1.5.4",
"redux-saga": "^1.1.3",
"reselect": "^4.1.6",
"rxjs": "^7.5.6",
"styled-components": "^5.3.11"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.5",
"styled-components": "^5.3.11"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write --parser \"typescript\" --loglevel error",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}