We are currently using version 18 of node but some packages now requires at least node 20.x. As this the LTS version, we upgrade your codebase to this version.
121 lines
3.9 KiB
JSON
121 lines
3.9 KiB
JSON
{
|
|
"name": "@openfun/cunningham-react",
|
|
"private": false,
|
|
"version": "2.9.3",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"license": "MIT",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./style": "./dist/style.css",
|
|
"./fonts": "./dist/fonts.css",
|
|
"./icons": "./dist/icons.css",
|
|
"./sass/fonts": "./dist/sass/fonts.scss",
|
|
"./sass/icons": "./dist/sass/icons.scss"
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint . \"src/**/*.{ts,tsx}\"",
|
|
"dev": "yarn storybook",
|
|
"build": "bash ./build",
|
|
"build:watch": "yarn build && vite build --mode watch",
|
|
"build:watch-polling": "yarn build && vite build --mode watch-polling",
|
|
"build-fonts": "vite build -c vite.fonts.config.ts && rm -rf dist/fonts.js && make-dir dist/sass && cp src/fonts.scss dist/sass/",
|
|
"build-icons": "vite build -c vite.icons.config.ts && rm -rf dist/icons.js && make-dir dist/sass && cp src/icons.scss dist/sass/",
|
|
"build-theme": "cunningham -o src -g css,ts,js,scss",
|
|
"preview": "vite preview",
|
|
"test": "cross-env FORCE_COLOR=1 vitest run",
|
|
"test-ci": "cross-env VITEST_MIN_THREADS=1 cross-env VITEST_MAX_THREADS=3 cross-env FORCE_COLOR=1 vitest run --shard $(($CIRCLE_NODE_INDEX + 1))/$CIRCLE_NODE_TOTAL",
|
|
"test-watch": "vitest",
|
|
"coverage": "vitest run --coverage",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/roboto-flex": "5.0.15",
|
|
"@fontsource/material-icons-outlined": "5.0.12",
|
|
"@internationalized/date": "3.5.5",
|
|
"@openfun/cunningham-tokens": "*",
|
|
"@react-aria/calendar": "3.5.10",
|
|
"@react-aria/datepicker": "3.11.1",
|
|
"@react-aria/i18n": "3.12.1",
|
|
"@react-stately/calendar": "3.5.3",
|
|
"@react-stately/datepicker": "3.10.1",
|
|
"@tanstack/react-table": "8.19.3",
|
|
"@types/react-modal": "3.16.3",
|
|
"chromatic": "11.5.6",
|
|
"classnames": "2.5.1",
|
|
"downshift": "9.0.7",
|
|
"react": "18.3.1",
|
|
"react-aria": "3.34.1",
|
|
"react-aria-components": "1.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-modal": "3.16.1",
|
|
"react-stately": "3.32.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.24.9",
|
|
"@babel/plugin-proposal-decorators": "7.24.7",
|
|
"@babel/plugin-proposal-export-default-from": "7.24.7",
|
|
"@babel/preset-typescript": "7.24.7",
|
|
"@chromatic-com/storybook": "1.6.1",
|
|
"@faker-js/faker": "8.4.1",
|
|
"@hookform/resolvers": "3.9.0",
|
|
"@openfun/cunningham-tokens": "*",
|
|
"@openfun/typescript-configs": "*",
|
|
"@storybook/addon-a11y": "8.2.6",
|
|
"@storybook/addon-actions": "8.2.6",
|
|
"@storybook/addon-essentials": "8.2.6",
|
|
"@storybook/addon-interactions": "8.2.6",
|
|
"@storybook/addon-links": "8.2.6",
|
|
"@storybook/preset-scss": "1.0.3",
|
|
"@storybook/react": "8.2.6",
|
|
"@storybook/react-vite": "8.2.6",
|
|
"@storybook/storybook-deployer": "2.8.16",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@testing-library/jest-dom": "6.4.8",
|
|
"@testing-library/react": "16.0.0",
|
|
"@testing-library/user-event": "14.5.2",
|
|
"@types/jest": "29.5.12",
|
|
"@types/react": "18.3.3",
|
|
"@types/react-dom": "18.3.0",
|
|
"@vitejs/plugin-react": "4.3.1",
|
|
"@vitest/coverage-c8": "0.33.0",
|
|
"@vitest/ui": "2.0.4",
|
|
"babel-loader": "9.1.3",
|
|
"css-loader": "7.1.2",
|
|
"glob": "11.0.0",
|
|
"jsdom": "24.1.1",
|
|
"react-hook-form": "7.52.1",
|
|
"remark-gfm": "4.0.0",
|
|
"sass": "1.77.8",
|
|
"sass-loader": "16.0.0",
|
|
"storybook": "8.2.6",
|
|
"style-loader": "4.0.0",
|
|
"typescript": "5.5.4",
|
|
"vite": "5.3.5",
|
|
"vite-plugin-dts": "3.9.1",
|
|
"vite-tsconfig-paths": "4.3.2",
|
|
"vitest": "2.0.4",
|
|
"vitest-fetch-mock": "0.3.0",
|
|
"yup": "1.4.0"
|
|
},
|
|
"volta": {
|
|
"node": "20.16.0",
|
|
"yarn": "1.22.22"
|
|
}
|
|
}
|