react-chrono-extra
Version:
A Modern Timeline component for React
183 lines (182 loc) • 5.77 kB
JSON
{
"name": "react-chrono-extra",
"version": "1.0.0",
"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/AlSharp/react-chrono-extra",
"type": "git"
},
"scripts": {
"cypress": "cypress open",
"cypress:headless": "cypress run --headless",
"cypress:record": "cypress run --record --key 0a753295-339a-4351-bf1d-6b91d4bcb937",
"cypress:runner": "start-server-and-test start http://localhost:4444 cypress:record",
"cypress:test": "start-server-and-test start http://localhost:4444 cypress",
"cypress:quiet": "cypress run --quiet --headless",
"eslint": "eslint src/**/*.{tsx,ts}",
"fix-js": "eslint src/**/*.{tsx,ts} --fix",
"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 --custom-syntax @stylelint/postcss-css-in-js",
"rollup": "rollup -c rollup.config.mjs",
"snyk": "snyk test",
"prepare": "husky install",
"dev": "vite --config vite.config.ts",
"clean": "npx concurrently \"pnpm format\" \"pnpm lint:all\"",
"test": "vitest --config vitest.config.ts",
"vite:build": "vite build --config vite.config.ts",
"coveralls": "pnpx coveralls < coverage/lcov.info",
"size-limit": "pnpm rollup && pnpm size-limit",
"build": "pnpm rollup"
},
"dependencies": {
"classnames": "^2.3.2",
"dayjs": "^1.11.9",
"focus-visible": "^5.2.0",
"styled-components": "=5.3.10"
},
"peerDependencies": {
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"publishConfig": {
"cache": "cache/.npm",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/plugin-transform-typescript": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@emotion/babel-plugin": "^11.11.0",
"@jest/types": "^29.6.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-buble": "^1.0.2",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@size-limit/preset-big-lib": "^9.0.0",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@testing-library/dom": "^9.3.3",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.2",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.27",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.4",
"autoprefixer": "^10.4.15",
"babel-loader": "^9.1.3",
"babel-plugin-styled-components": "^2.1.4",
"c8": "^8.0.1",
"cssnano": "^6.0.1",
"cypress": "13.2.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.0.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"postcss": "^8.4.30",
"postcss-preset-env": "^9.1.4",
"postcss-syntax": "^0.36.2",
"prettier": "^3.0.3",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-router-dom": "^6.16.0",
"rimraf": "^5.0.1",
"rollup": "^3.29.2",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"sass": "^1.67.0",
"semver": "^7.5.4",
"size-limit": "^9.0.0",
"snyk": "^1.1223.0",
"start-server-and-test": "^2.0.0",
"stylelint": "^15.10.3",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^6.0.3",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.4"
},
"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": "50 KB"
},
{
"path": "dist/react-chrono.esm.js",
"limit": "50 KB"
},
{
"path": "dist/react-chrono.umd.js",
"limit": "50 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/react-chrono.js",
"module": "dist/react-chrono.esm.js",
"umd": "dist/react-chrono.umd.js"
}