UNPKG

react-chrono

Version:
204 lines (203 loc) 6.72 kB
{ "name": "react-chrono", "version": "2.9.1", "license": "MIT", "description": "A Modern Timeline component for React", "keywords": [ "timeline", "react-timeline", "horizontal-timeline", "vertical-timeline" ], "author": "Prabhu Murthy", "repository": { "url": "https://github.com/prabhuignoto/react-chrono", "type": "git" }, "scripts": { "cypress": "cypress open", "cypress:run": "cypress run", "cypress:run:chrome": "cypress run --browser chrome", "cypress:run:firefox": "cypress run --browser firefox", "cypress:run:edge": "cypress run --browser edge", "cypress:headless": "cypress run --headless", "cypress:record": "cypress run --record --key 0a753295-339a-4351-bf1d-6b91d4bcb937", "cypress:runner": "start-server-and-test dev http://localhost:4444 cypress:record", "cypress:test": "start-server-and-test dev http://localhost:4444 cypress:run", "cypress:open": "start-server-and-test dev http://localhost:4444 cypress", "cypress:quiet": "cypress run --quiet", "cypress:ci": "cypress run --config video=false,screenshotOnRunFailure=true", "eslint": "eslint src/**/*.{tsx,ts} --no-warn-ignored", "fix-js": "eslint src/**/*.{tsx,ts} --fix --no-warn-ignored", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", "lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"", "lint:all": "pnpm eslint && pnpm lint:css && pnpm lint", "lint:css": "stylelint src/**/*style.ts", "rollup": "rollup -c rollup.config.mjs", "snyk": "snyk test", "prepare": "husky install", "dev": "vite --config vite.config.mts --host", "clean": "npx concurrently \"pnpm format\" \"pnpm lint:all\"", "test": "vitest --config vitest.config.mts", "test-ui": "vitest --config vitest.config.mts --ui", "vite:build": "vite build --config vite.config.mts", "coveralls": "pnpx coveralls < coverage/lcov.info", "size-limit": "pnpm rollup && pnpm size-limit", "build": "rollup -c", "build:analyze": "ANALYZE=true rollup -c", "fix-css": "stylelint src/**/*style.ts --fix" }, "dependencies": { "classnames": "^2.5.1", "dayjs": "^1.11.13", "focus-visible": "^5.2.1", "styled-components": "^6.1.18", "use-debounce": "^10.0.4", "xss": "^1.0.15" }, "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0", "styled-components": "^6.0.0" }, "publishConfig": { "cache": "cache/.npm", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@babel/core": "^7.27.4", "@babel/plugin-transform-optional-chaining": "^7.27.1", "@babel/plugin-transform-runtime": "^7.27.4", "@babel/plugin-transform-typescript": "^7.27.1", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@babel/runtime": "^7.27.6", "@eslint/compat": "^1.2.9", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.28.0", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-dynamic-import-vars": "^2.1.5", "@rollup/plugin-eslint": "^9.0.5", "@rollup/plugin-image": "^3.0.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@size-limit/preset-big-lib": "^11.2.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/node": "^22.15.29", "@types/react": "^19.1.6", "@types/react-dom": "^19.1.5", "@types/react-router-dom": "^5.3.3", "@types/styled-components": "^5.1.34", "@types/testing-library__jest-dom": "^6.0.0", "@typescript-eslint/eslint-plugin": "^8.33.1", "@typescript-eslint/parser": "^8.33.1", "@vitejs/plugin-react": "^4.5.1", "@vitest/coverage-v8": "^3.2.1", "@vitest/ui": "^3.2.1", "autoprefixer": "^10.4.21", "babel-plugin-jsx-remove-data-test-id": "^3.0.0", "babel-plugin-styled-components": "^2.1.4", "c8": "^10.1.3", "cssnano": "^7.0.7", "cypress": "14.4.1", "eslint": "^9.28.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "eslint-plugin-sort-keys-fix": "^1.1.2", "eslint-plugin-typescript-sort-keys": "^3.3.0", "globals": "^16.2.0", "husky": "^9.1.7", "intersection-observer": "^0.12.2", "jsdom": "^26.1.0", "lint-staged": "^16.1.0", "postcss": "^8.5.4", "postcss-preset-env": "^10.2.0", "postcss-scss": "^4.0.9", "postcss-styled-syntax": "^0.7.1", "postcss-syntax": "^0.36.2", "prettier": "^3.5.3", "pretty-quick": "^4.2.2", "react-router-dom": "^7.6.2", "rimraf": "^6.0.1", "rollup": "^4.41.1", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-delete": "^3.0.1", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-progress": "^1.1.2", "rollup-plugin-typescript2": "^0.36.0", "rollup-plugin-visualizer": "^6.0.1", "sass-embedded": "^1.89.1", "semver": "7.7.2", "size-limit": "^11.2.0", "snyk": "^1.1297.1", "start-server-and-test": "^2.0.12", "stylelint": "^16.20.0", "stylelint-config-recess-order": "^6.0.0", "stylelint-config-recommended": "^16.0.0", "stylelint-order": "^7.0.0", "typescript": "^5.8.3", "typescript-plugin-styled-components": "^3.0.0", "typescript-transform-paths": "^3.5.5", "vite": "^6.3.5", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.1" }, "resolutions": { "ansi-regex": "5.0.1", "json-schema": "0.4.0", "semver": "7.5.4" }, "files": [ "dist" ], "size-limit": [ { "path": "dist/react-chrono.js", "limit": "110 KB" }, { "path": "dist/react-chrono.esm.js", "limit": "110 KB" }, { "path": "dist/react-chrono.umd.js", "limit": "110 KB" } ], "lint-staged": { "src/components/**/*.{ts,tsx}": [ "prettier --write", "stylelint ./src/**/*style.ts", "eslint ./src/**/*.tsx", "git add" ] }, "browserslist": [ "last 3 versions", "not ie <= 11", "not dead", "> 5%" ], "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "main": "dist/index.js", "module": "dist/index.esm.js", "umd": "dist/index.umd.js", "types": "dist/index.d.ts" }