react-svg-timeline
Version:
React Timeline Component
142 lines • 3.65 kB
JSON
{
"name": "react-svg-timeline",
"version": "0.25.0",
"description": "React Timeline Component",
"keywords": [
"react",
"timeline",
"events",
"visualization",
"interactive",
"chart",
"graph",
"plot",
"svg"
],
"repository": "netzwerg/react-svg-timeline",
"license": "MIT",
"author": "Rahel Lüthy <rahel.luethy@gmail.com>",
"type": "module",
"exports": {
".": {
"import": "./dist/react-svg-timeline.js",
"require": "./dist/react-svg-timeline.umd.cjs",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/react-svg-timeline.umd.cjs",
"module": "./dist/react-svg-timeline.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --project tsconfig.build.json",
"build-storybook": "build-storybook",
"coverage": "vitest run --coverage",
"lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
"lint:fix": "eslint './src/**/*.{ts,tsx}' --fix",
"prepack": "yarn build",
"prepare": "husky install",
"prepreview": "yarn build",
"preview": "vite preview",
"prepublish": "yarn test:ci",
"start": "vite",
"storybook": "start-storybook -p 6006",
"test": "vitest",
"test:ci": "CI=true vitest run"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": "react-app",
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {
"@typescript-eslint/semi": [
"error",
"never"
]
}
},
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"dependencies": {
"d3-array": "^2.11.0",
"d3-scale": "^3.0.1",
"d3-time": "^3.0.0",
"date-fns": "^2.2.1",
"react-svg-tooltip": "^0.0.11",
"ts-deepmerge": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-vite": "^0.2.5",
"@storybook/node-logger": "^6.5.13",
"@storybook/react": "^6.5.13",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.3.0",
"@types/d3-array": "^2.9.0",
"@types/d3-scale": "^2.1.1",
"@types/d3-time": "^3.0.0",
"@types/jest": "^28.1.6",
"@types/node": "18.6.1",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-redux": "7.1.24",
"@types/testing-library__jest-dom": "^5.14.5",
"@vitejs/plugin-react": "^2.0.0",
"babel-loader": "^8.2.5",
"eslint": "^8.20.0",
"eslint-config-react-app": "^7.0.1",
"husky": "^8.0.1",
"jsdom": "^20.0.0",
"lint-staged": "13.0.3",
"node-fetch": "^3.2.9",
"prettier": "2.7.1",
"prettier-plugin-packagejson": "2.2.18",
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"typescript": "^4.7.4",
"vite": "^3.0.3",
"vite-plugin-checker": "^0.4.9",
"vitest": "^0.19.1",
"vitest-canvas-mock": "^0.2.1"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"packageManager": "yarn@3.2.2"
}