-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 6.27 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
{
"name": "@viaa/avo2-components",
"version": "5.0.12",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"homepage": "./",
"scripts": {
"analyze": "source-map-explorer 'build/*.js'",
"build": "vite build",
"copy-to-avo-client": "rimraf ../avo2-client/node_modules/@viaa/avo2-components/dist ../avo2-client/node_modules/@viaa/avo2-components/src ../avo2-client/node_modules/.cache ../avo2-client/node_modules/.vite && cp -r dist src package.json package-lock.json ../avo2-client/node_modules/@viaa/avo2-components",
"copy-to-hetarchief-client": "rimraf ../hetarchief-client/node_modules/@viaa/avo2-components/dist ../hetarchief-client/node_modules/@viaa/avo2-components/src ../hetarchief-client/node_modules/.cache ../hetarchief-client/node_modules/.vite && cp -r dist src package.json package-lock.json ../hetarchief-client/node_modules/@viaa/avo2-components",
"copy-to-admin-core-ui": "rimraf ../react-admin-core-module/ui/node_modules/@viaa/avo2-components/dist ../react-admin-core-module/ui/node_modules/@viaa/avo2-components/src ../react-admin-core-module/ui/node_modules/.cache ../react-admin-core-module/ui/node_modules/.vite && cp -r dist src package.json package-lock.json ../react-admin-core-module/ui/node_modules/@viaa/avo2-components",
"copy": "vite build && npm run copy-to-avo-client && npm run copy-to-hetarchief-client && npm run copy-to-admin-core-ui",
"build-storybook": "build-storybook -o build",
"build-storybook:with-sourcemaps": "cross-env GENERATE_SOURCEMAP=true build-storybook -o build",
"preicons": "node scripts/icons.js src/icons",
"icons": "rimraf src/components/Icon/Icons && svgr -d src/components/Icon/Icons src/icons --ext tsx && rm -rf src/components/Icon/Icons/index.ts",
"posticons": "named-exports --dir=src/components/Icon/Icons && renamer --find \"\\.ts$\" --replace .tsx \"./src/components/Icon/Icons/**\" && rm -rf src/components/Icon/Icons/index.ts && renamer --find index.tsx --replace index.ts \"./src/components/Icon/Icons/**\" && echo \"export * from './arrows'; export * from './custom';export * from './multicolor';export * from './social';export * from './wysiwyg';\"",
"lint": "eslint \"./{src,scripts}/**/*.{ts,tsx}\" --cache",
"lint:fix": "eslint \"./{src,scripts}/**/*.{ts,tsx}\" --fix",
"format": "prettier --list-different \"{src,scripts}/**/*.{ts,tsx}\"",
"format:fix": "prettier --list-different --write \"{src,scripts}/**/*.{ts,tsx}\"",
"dev": "start-storybook -p 3020",
"start": "start-storybook -p 3020 --ci",
"test": "jest --verbose",
"analyse": "source-map-explorer 'dist/index.mjs' --no-border-checks",
"test:output": "cross-env CI=true jest --json --outputFile=.storybook/test-results.json",
"licenses": "license-checker --csv --out licenses.csv",
"snyk-protect": "snyk protect",
"bump": "bump-package-versions --part=patch --strategy=highest ./package.json",
"prepare": "husky install"
},
"peerDependencies": {
"@popperjs/core": "2.11.6",
"@viaa/avo2-types": "3.0.9",
"autosize": "6.0.1",
"caniuse-lite": "1.0.30001538",
"clsx": "2.0.0",
"date-fns": "2.30.0",
"marked": "4.0.15",
"raf": "3.4.1",
"react": "18.2.0",
"react-datepicker": "4.21.0",
"react-dom": "18.2.0",
"react-perfect-scrollbar": "1.5.8",
"react-popper": "2.3.0",
"react-range": "1.8.14",
"react-select": "5.7.4",
"to-camel-case": "1.0.0",
"to-slug-case": "1.0.0"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@snyk/protect": "1.1221.0",
"@storybook/addon-actions": "6.5.17-alpha.0",
"@storybook/addon-essentials": "6.5.17-alpha.0",
"@storybook/addons": "6.5.17-alpha.0",
"@storybook/builder-webpack5": "6.5.17-alpha.0",
"@storybook/manager-webpack5": "6.5.17-alpha.0",
"@storybook/preset-create-react-app": "7.4.2",
"@storybook/react": "6.5.17-alpha.0",
"@svgr/cli": "5.5.0",
"@tom-odb/named-exports": "1.4.6",
"@types/autosize": "3.0.7",
"@types/enzyme": "3.10.13",
"@types/jest": "26.0.24",
"@types/marked": "4.3.1",
"@types/node": "14.6.1",
"@types/raf": "3.4.0",
"@types/react": "18.2.22",
"@types/react-datepicker": "4.19.2",
"@types/react-dom": "18.2.7",
"@types/storybook__addon-actions": "5.2.1",
"@types/storybook__react": "5.2.1",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitejs/plugin-react": "4.0.4",
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
"autoprefixer": "9.8.8",
"babel-plugin-react-docgen": "4.2.1",
"bump-package-versions": "^1.0.7",
"core-js": "3.32.2",
"cross-env": "7.0.3",
"css-loader": "4.3.0",
"enzyme": "3.11.0",
"eslint": "8.49.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-storybook": "0.6.13",
"glob": "7.2.3",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-checker": "25.0.1",
"lint-staged": "13.3.0",
"lorem-ipsum": "2.0.8",
"postcss": "8.4.19",
"prettier": "3.0.3",
"rimraf": "3.0.2",
"sass": "1.67.0",
"schema-utils": "4.2.0",
"source-map-explorer": "2.5.3",
"storybook-addon-jsx": "7.3.14",
"style-loader": "1.3.0",
"ts-jest": "29.1.1",
"tslib": "2.6.2",
"typescript": "5.1.6",
"vite": "4.4.9",
"vite-plugin-css-injected-by-js": "3.1.0",
"vite-plugin-dts": "3.5.3",
"vite-plugin-externalize-deps": "0.7.0",
"vite-plugin-svgr": "3.2.0",
"vite-tsconfig-paths": "4.2.1"
},
"overrides": {
"react": "18.2.0",
"react-dom": "18.2.0",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
"webpack": "5.74.0",
"typescript": "5.1.6",
"@storybook/addons": "6.5.17-alpha.0"
},
"optionalDependencies": {
"@esbuild/darwin-arm64": "^0.20.1",
"@esbuild/win32-x64": "^0.20.1",
"@esbuild/linux-x64": "^0.20.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"publishConfig": {
"@viaa:registry": "http://do-prd-mvn-01.do.viaa.be:8081/repository/npm-viaa/"
},
"snyk": true
}