UNPKG

react-parallax

Version:

A React Component for parallax effect working in client-side and server-side rendering environment

98 lines (97 loc) 3.31 kB
{ "name": "react-parallax", "author": "Richard Rutsche", "version": "3.5.2", "description": "A React Component for parallax effect working in client-side and server-side rendering environment", "repository": { "type": "git", "url": "https://github.com/rrutsche/react-parallax.git" }, "main": "lib/index.js", "types": "@types/index.ts", "scripts": { "test": "jest", "test:watch": "npm run test -- --watch", "test:cover": "npm run test -- --coverage", "dev": "npx cross-env NODE_ENV=development webpack-dev-server --mode development --config webpack/dev.config.js", "build": "npx cross-env NODE_ENV=production webpack --mode production --config webpack/build.config.js", "lint": "tsc --noEmit && eslint ./src/**/*.{ts,tsx}", "format": "prettier --write \"*/**/*.{ts,tsx,js,json}\" \"*.js\"", "check-types": "tsc", "preversion": "npm test", "version": "git add lib", "_version": "npm run build && git add lib", "postversion": "git push && git push --tags" }, "keywords": [ "react", "reactjs", "parallax", "scroll", "jsx" ], "peerDependencies": { "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 ||^19" }, "license": "MIT", "devDependencies": { "@babel/core": "^7.11.6", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "@types/jest": "^26.0.13", "@types/jsdom": "^16.2.4", "@types/node": "^14.6.4", "@types/react": "^16.9.49", "@types/react-dom": "^16.9.8", "@types/react-router-dom": "^5.1.5", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^8.1.0", "cross-env": "^7.0.2", "eslint": "^7.8.1", "eslint-config-airbnb": "^18.2.0", "eslint-config-airbnb-typescript": "^10.0.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-destructuring": "^2.2.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^24.0.0", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-react": "^7.20.6", "file-loader": "^6.1.0", "html-webpack-plugin": "^4.4.1", "husky": "^4.3.0", "jest": "^26.4.2", "jsdom": "^16.4.0", "lint-staged": "^10.3.0", "prettier": "^2.1.1", "react-hot-loader": "^4.12.21", "react-router-dom": "^5.2.0", "terser-webpack-plugin": "^4.1.0", "ts-jest": "^26.3.0", "ts-loader": "^8.0.3", "typescript": "^4.0.2", "webpack": "^4.41.0", "webpack-cli": "^3.3.9", "webpack-dev-server": "^3.11.0", "webpack-merge": "^5.1.4" }, "husky": { "hooks": { "pre-commit": "lint-staged", "post-merge": "lint-staged" } }, "lint-staged": { "src/**/*.{ts,tsx}": [ "prettier --write", "eslint" ], "*.{json,css,scss}": [ "prettier --write" ] } }