UNPKG

react-fast-marquee-shadow-dom

Version:

A lightweight React component that utilizes the power of CSS animations to create silky smooth marquees.

139 lines (138 loc) 3.67 kB
{ "name": "react-fast-marquee-shadow-dom", "version": "1.0.2", "description": "A lightweight React component that utilizes the power of CSS animations to create silky smooth marquees.", "main": "dist/index.cjs", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "style": "dist/marquee.css", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.esm.js", "types": "./dist/index.d.ts" }, "./marquee.css": "./dist/marquee.css" }, "scripts": { "build": "rollup -c", "start": "rollup -c -w", "lint": "eslint \"src/**/*.{js,tsx}\" --fix --quiet", "pretest": "npm run lint", "test": "node ./__tests__/tests.js", "no-watch-test": "node ./__tests__/tests.js --no-watch" }, "jest": { "globals": { "ts-jest": {} }, "transform": { "^.+\\.js$": "<rootDir>/node_modules/babel-jest", "^.+\\.tsx?$": "ts-jest" }, "testMatch": [ "**/?(*.)+(spec|test).js?(x)" ], "moduleNameMapper": { "\\.(scss)$": "<rootDir>/__tests__/styleMock.js", "^(components/.+)$": "<rootDir>/src/$1/" }, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx" ], "automock": false, "setupFiles": [ "./__tests__/setupJest.js" ], "coverageDirectory": "./coverage/", "collectCoverage": true }, "repository": { "type": "git", "url": "git+https://github.com/justin-chu/react-fast-marquee.git" }, "keywords": [ "react", "marquee", "react-component", "reactjs", "carousel", "slider", "ticker", "horizontal-scrolling-carousels" ], "author": "justin-chu <justinchu252@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/justin-chu/react-fast-marquee/issues" }, "homepage": "https://github.com/justin-chu/react-fast-marquee#readme", "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.12.10", "@babel/preset-typescript": "^7.12.7", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@types/enzyme-adapter-react-16": "^1.0.6", "@types/jest": "^26.0.20", "@types/react": "^16.9.52", "@types/react-dom": "^16.9.8", "@types/resize-observer-browser": "^0.1.7", "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "autoprefixer": "^10.4.21", "babel-core": "^6.26.3", "babel-runtime": "^6.26.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.5", "eslint": "^7.11.0", "eslint-config-prettier": "^6.13.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.4", "jest": "^26.6.3", "jest-fetch-mock": "^3.0.3", "postcss": "^8.5.3", "prettier": "^2.1.2", "react": "^16.14.0", "react-dom": "^16.14.0", "react-test-renderer": "^16.14.0", "rollup": "^2.79.2", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-esbuild": "^6.2.1", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-sass": "^1.2.2", "rollup-plugin-typescript2": "^0.27.3", "sass": "^1.88.0", "ts-jest": "^26.4.4", "tsup": "^8.4.0", "typescript": "^4.1.3" }, "peerDependencies": { "react": ">= 16.8.0 || ^18.0.0", "react-dom": ">= 16.8.0 || ^18.0.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{tsx}": [ "eslint --fix" ] }, "files": [ "dist" ], "sideEffects": [ "*.css" ], "directories": { "example": "examples" }, "dependencies": {} }