forked from IQSS/dataverse-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 6.11 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
181
182
{
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
},
"name": "dataverse-frontend",
"version": "0.1.0",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"dependencies": {
"@faker-js/faker": "7.6.0",
"@iqss/dataverse-client-javascript": "2.0.0-pr155.be01a3f",
"@iqss/dataverse-design-system": "*",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@tanstack/react-table": "8.9.2",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "13.5.0",
"@types/node": "16.18.12",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"bootstrap": "5.2.3",
"classnames": "2.5.1",
"html-react-parser": "3.0.16",
"i18next": "22.4.9",
"i18next-browser-languagedetector": "7.0.1",
"i18next-http-backend": "2.1.1",
"lodash": "^4.17.21",
"moment-timezone": "0.5.43",
"react-bootstrap": "2.7.2",
"react-bootstrap-icons": "1.10.3",
"react-hook-form": "7.51.2",
"react-i18next": "12.1.5",
"react-infinite-scroll-hook": "4.1.1",
"react-loader-spinner": "5.3.4",
"react-markdown": "8.0.7",
"react-router-dom": "6.23.1",
"react-topbar-progress-indicator": "4.1.1",
"sass": "1.58.1",
"typescript": "4.9.5",
"use-deep-compare": "1.2.1",
"vite-plugin-istanbul": "4.0.1",
"web-vitals": "2.1.4"
},
"scripts": {
"start": "vite --base=/spa",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "npm run lint:eslint && npm run lint:stylelint && npm run lint:prettier",
"lint:fix": "eslint --fix --ext .ts,.tsx ./src --ignore-path .gitignore . && stylelint --fix **/*.scss && prettier --write '**/*.(yml|json|md|css)'",
"lint:eslint": "eslint --ignore-path .gitignore .",
"lint:stylelint": "stylelint **/*.scss ",
"lint:prettier": "prettier --check '**/*.(yml|json|md|css)' --ignore-path packages/design-system/.gitignore",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json,yml,md}' --config ./.prettierrc",
"cy:open-e2e": "cypress open --e2e --browser chrome",
"cy:open-unit": "cypress open --component --browser chrome",
"test:e2e": "cypress run --e2e",
"test:unit": "cypress run --component",
"test:unit-all": "concurrently 'cypress run --component' 'cd packages/design-system && npm run test:unit'",
"test:coverage": "nyc check-coverage",
"test:coverage-all": "nyc check-coverage && cd packages/design-system && npm run test:coverage",
"test:coverage-merge": "lcov-result-merger '**/*/lcov.info' 'merged-coverage/lcov.info' && perl -pi -e 's/src\\/lib/packages\\/design-system\\/src\\/lib/g' merged-coverage/lcov.info",
"git:add": "git add .",
"storybook": "concurrently 'storybook dev -p 6006 && open \"http://localhost:6006\"' 'cd packages/design-system && npm run storybook'",
"storybook:windows": "concurrently \"storybook dev -p 6006\" \"npm run storybook -w packages/design-system\"",
"build-storybook": "storybook build",
"test:storybook": "test-storybook",
"test:storybook-all": "concurrently 'test-storybook' 'cd packages/design-system && npm run test:storybook'",
"typecheck": "tsc --noEmit"
},
"pre-commit": [
"typecheck",
"lint:fix",
"git:add",
"test:unit",
"test:coverage"
],
"eslintConfig": {
"extends": [
"react-app"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@auto-it/all-contributors": "10.46.0",
"@auto-it/first-time-contributor": "10.46.0",
"@auto-it/npm": "10.46.0",
"@auto-it/released": "10.46.0",
"@csstools/postcss-cascade-layers": "3.0.1",
"@cypress/code-coverage": "3.10.7",
"@cypress/grep": "4.0.1",
"@storybook/addon-a11y": "7.0.2",
"@storybook/addon-essentials": "7.0.2",
"@storybook/addon-interactions": "7.0.2",
"@storybook/addon-links": "7.0.2",
"@storybook/blocks": "7.0.2",
"@storybook/react": "7.0.2",
"@storybook/react-vite": "7.0.2",
"@storybook/test-runner": "0.10.0",
"@storybook/testing-library": "0.1.0",
"@testing-library/cypress": "9.0.0",
"@types/chai-as-promised": "7.1.5",
"@types/node-sass": "4.11.3",
"@types/sinon": "10.0.13",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "5.51.0",
"@vitejs/plugin-react": "3.1.0",
"auto": "10.46.0",
"axe-playwright": "1.2.3",
"axios": "1.4.0",
"babel-plugin-named-exports-order": "0.0.2",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chromatic": "6.17.4",
"concurrently": "8.0.1",
"cypress": "12.14.0",
"cypress-vite": "1.4.0",
"eslint": "8.33.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-storybook": "0.6.11",
"eslint-plugin-unused-imports": "2.0.0",
"jsdom": "21.1.0",
"lcov-result-merger": "3.3.0",
"lerna": "7.1.1",
"postcss": "8.4.23",
"pre-commit": "1.2.2",
"prettier": "2.8.4",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-loading-skeleton": "3.3.1",
"sinon": "15.0.3",
"storybook": "7.0.2",
"stylelint": "15.7.0",
"stylelint-config-rational-order": "0.1.2",
"stylelint-config-standard": "30.0.1",
"stylelint-config-standard-scss": "7.0.1",
"stylelint-order": "6.0.2",
"vite": "4.1.5",
"vite-plugin-css-injected-by-js": "3.1.1",
"vite-plugin-dts": "2.3.0",
"vite-plugin-libcss": "1.0.6"
},
"msw": {
"workerDirectory": "public"
},
"readme": "ERROR: No README data found!",
"_id": "dataverse-frontend@0.1.0",
"overrides": {
"@parcel/watcher": "2.1.0"
}
}