UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

133 lines (132 loc) • 4.58 kB
{ "name": "framer-motion", "version": "3.5.3", "description": "An open source and production-ready motion library for React on the web", "main": "dist/framer-motion.cjs.js", "module": "dist/framer-motion.es.js", "types": "types/index.d.ts", "author": "Framer Motion", "license": "MIT", "repository": "https://github.com/framer/motion/", "sideEffects": false, "keywords": [ "react animation", "react", "pose", "react pose", "animation", "spring", "popmotion", "framer" ], "scripts": { "lint": "yarn eslint src/**/*.ts", "test": "rm -rf types && yarn test-client && yarn test-server && yarn test-e2e && yarn build && yarn measure", "test-ci": "yarn test-client && yarn test-server", "test-client": "jest --coverage --config jest.config.json --maxWorkers=2", "test-server": "jest --config jest.config.ssr.json", "test-e2e": "start-server-and-test start-dev-server http://localhost:9990 'cypress run'", "test-e2e-ci": "start-server-and-test start-dev-server http://localhost:9990 'cypress run'", "test-watch": "jest --watch --coverage --coverageReporters=lcov --config jest.config.json", "prettier": "prettier ./src/* --write", "build": "tsc -p . && rollup -c && make api", "watch": "concurrently \"tsc --watch -p .\" \"rollup -c -w\"", "prepublishOnly": "yarn test && yarn build", "postpublish": "git push --tags", "measure": "bundlesize", "deduplicate": "yarn-deduplicate yarn.lock", "start-dev-server": "webpack-dev-server --config=dev/webpack/config.js" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" }, "devDependencies": { "@cypress/webpack-preprocessor": "^4.1.0", "@microsoft/api-extractor": "7.3.4", "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.3.2", "@testing-library/dom": "^6.10.1", "@testing-library/react": "^9.3.2", "@types/jest": "^23.3.9", "@types/node": "12.7.4", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.4", "@types/styled-components": "^4.1.0", "@typescript-eslint/eslint-plugin": "^1.5.0", "@typescript-eslint/parser": "^1.5.0", "array-move": "^2.1.0", "bundlesize": "^0.18.0", "cache-loader": "^1.2.5", "concurrently": "^5.2.0", "convert-tsconfig-paths-to-webpack-aliases": "^0.9.2", "cypress": "^3.4.0", "eslint": "^5.16.0", "eslint-config-prettier": "^4.1.0", "eslint-plugin-import": "^2.16.0", "eslint-plugin-react": "^7.12.4", "eslint-plugin-react-hooks": "^1.6.0", "fork-ts-checker-webpack-plugin": "^0.4.15", "husky": "1.1.4", "jest": "^24.8.0", "jest-dom": "^3.5.0", "jest-junit": "^6.4.0", "jest-watch-typeahead": "^0.4.2", "lint-staged": "^8.0.4", "lodash": "^4.17.13", "prettier": "^2.1.0", "progress-bar-webpack-plugin": "^1.11.0", "react": "^17.0.0-rc.0", "react-dev-utils": "^6.1.1", "react-dom": "^17.0.0-rc.0", "rollup": "^2.10.5", "rollup-plugin-terser": "^5.3.0", "rollup-plugin-visualizer": "^2.4.3", "start-server-and-test": "^1.9.1", "styled-components": "^4.1.1", "ts-jest": "^24.0.2", "ts-loader": "^5.3.0", "typescript": "^4.0.2", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^4.25.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.7.2", "yarn-deduplicate": "^1.1.1" }, "dependencies": { "framesync": "^5.0.0", "hey-listen": "^1.0.8", "popmotion": "^9.1.0", "style-value-types": "^4.0.1", "tslib": "^1.10.0" }, "optionalDependencies": { "@emotion/is-prop-valid": "^0.8.2" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "linters": { "*.{ts,tsx}": [ "prettier --write", "git add" ] }, "ignore": [ "**/api/*.api.ts" ] }, "bundlesize": [ { "path": "./dist/framer-motion.js", "maxSize": "29.1 kB" }, { "path": "./dist/minimal-component.js", "maxSize": "13.5 kB" } ] }