115 lines
2.9 KiB
JSON
115 lines
2.9 KiB
JSON
{
|
|
"name": "react-fast-marquee",
|
|
"version": "1.6.5",
|
|
"description": "A lightweight React component that utilizes the power of CSS animations to create silky smooth marquees.",
|
|
"main": "dist/index.js",
|
|
"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",
|
|
"@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",
|
|
"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",
|
|
"prettier": "^2.1.2",
|
|
"react": "^16.14.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-test-renderer": "^16.14.0",
|
|
"rollup": "^2.31.0",
|
|
"rollup-plugin-sass": "^1.2.2",
|
|
"rollup-plugin-typescript2": "^0.27.3",
|
|
"ts-jest": "^26.4.4",
|
|
"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"
|
|
],
|
|
"directories": {
|
|
"example": "examples"
|
|
}
|
|
}
|