Files
cunningham/packages/react/package.json
Anthony Le Courric e251bbb438 🚨(eslint-config-custom) prob order with windows
With Windows the order of the imports was not the same as with Linux,
this was causing the linter to fail with CI.
We force the import starting with ":" to the internal group to fix this
issue.
2023-09-11 16:15:13 +02:00

118 lines
3.9 KiB
JSON

{
"name": "@openfun/cunningham-react",
"private": false,
"version": "1.0.2",
"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",
"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",
"predeploy-storybook": "yarn build-storybook && touch ./storybook-static/.nojekyll",
"deploy-storybook": "storybook-to-ghpages --existing-output-dir ./storybook-static"
},
"dependencies": {
"@fontsource-variable/roboto-flex": "5.0.8",
"@fontsource/material-icons": "5.0.7",
"@internationalized/date": "3.4.0",
"@openfun/cunningham-tokens": "*",
"@react-aria/calendar": "3.4.1",
"@react-aria/datepicker": "3.6.0",
"@react-aria/i18n": "3.8.1",
"@react-stately/calendar": "3.3.1",
"@react-stately/datepicker": "3.6.0",
"@tanstack/react-table": "8.9.3",
"classnames": "2.3.2",
"downshift": "8.1.0",
"react": "18.2.0",
"react-aria": "3.27.0",
"react-dom": "18.2.0"
},
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/plugin-proposal-decorators": "7.22.10",
"@babel/plugin-proposal-export-default-from": "7.22.5",
"@babel/preset-typescript": "7.22.5",
"@faker-js/faker": "8.0.2",
"@hookform/resolvers": "3.2.0",
"@openfun/cunningham-tokens": "*",
"@openfun/typescript-configs": "*",
"@storybook/addon-a11y": "7.3.2",
"@storybook/addon-actions": "7.3.2",
"@storybook/addon-essentials": "7.3.2",
"@storybook/addon-interactions": "7.3.2",
"@storybook/addon-links": "7.3.2",
"@storybook/preset-scss": "1.0.3",
"@storybook/react": "7.3.2",
"@storybook/react-vite": "7.3.2",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.2.0",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "6.0.1",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "29.5.3",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@vitejs/plugin-react": "4.0.4",
"@vitest/coverage-c8": "0.33.0",
"@vitest/ui": "0.34.2",
"babel-loader": "9.1.3",
"css-loader": "6.8.1",
"glob": "10.3.3",
"jsdom": "22.1.0",
"react-hook-form": "7.45.4",
"remark-gfm": "3.0.1",
"sass": "1.66.1",
"sass-loader": "13.3.2",
"storybook": "7.3.2",
"style-loader": "3.3.3",
"typescript": "5.1.6",
"vite": "4.4.9",
"vite-plugin-dts": "3.5.2",
"vite-tsconfig-paths": "4.2.0",
"vitest": "0.34.2",
"vitest-fetch-mock": "0.2.2",
"yup": "1.2.0"
},
"volta": {
"node": "18.17.1",
"yarn": "1.22.19"
}
}