UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

142 lines (141 loc) 5.04 kB
{ "name": "framer-motion", "version": "11.9.0", "description": "A simple and powerful JavaScript animation library", "main": "dist/cjs/index.js", "module": "dist/es/index.mjs", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/cjs/index.js", "import": "./dist/es/index.mjs", "default": "./dist/cjs/index.js" }, "./dom/mini": { "types": "./dist/dom-mini.d.ts", "require": "./dist/cjs/dom-mini.js", "import": "./dist/es/dom-mini.mjs", "default": "./dist/cjs/dom-mini.js" }, "./dom": { "types": "./dist/dom.d.ts", "require": "./dist/cjs/dom.js", "import": "./dist/es/dom.mjs", "default": "./dist/cjs/dom.js" }, "./client": { "types": "./dist/client.d.ts", "require": "./dist/cjs/client.js", "import": "./dist/es/client.mjs", "default": "./dist/cjs/client.js" }, "./m": { "types": "./dist/m.d.ts", "require": "./dist/cjs/m.js", "import": "./dist/es/m.mjs", "default": "./dist/cjs/m.js" }, "./mini": { "types": "./dist/mini.d.ts", "require": "./dist/cjs/mini.js", "import": "./dist/es/mini.mjs", "default": "./dist/cjs/mini.js" }, "./projection": { "import": "./dist/es/projection.mjs", "default": "./dist/es/projection.mjs" }, "./package.json": "./package.json" }, "types": "dist/index.d.ts", "author": "Framer", "license": "MIT", "repository": "https://github.com/framer/motion/", "sideEffects": false, "keywords": [ "react animation", "react", "three", "3d", "pose", "react pose", "animation", "gestures", "drag", "spring", "popmotion", "framer", "waapi" ], "scripts": { "eslint": "yarn run lint", "lint": "yarn eslint src/**/*.ts", "build": "yarn clean && tsc -p . && rollup -c && node ./scripts/check-bundle.js", "dev": "yarn watch", "clean": "rm -rf types dist lib", "test": "yarn test-server && yarn test-client", "test-ci": "yarn test", "test-client": "jest --config jest.config.json --max-workers=2", "test-server": "jest --config jest.config.ssr.json", "test-watch": "jest --watch --coverage --coverageReporters=lcov --config jest.config.json", "test-e2e": "yarn test-e2e-next && yarn test-e2e-html && yarn test-e2e-react", "test-e2e-html": "node ../../dev/inc/collect-html-tests.js && start-server-and-test 'pushd ../../; yarn dev-server; popd' http://localhost:8000 'cypress run -s cypress/integration/appear.chrome.ts --config baseUrl=http://localhost:8000/ && cypress run -s cypress/integration/projection.chrome.ts --config baseUrl=http://localhost:8000/'", "test-e2e-react": "start-server-and-test 'pushd ../../; yarn dev-server; popd' http://localhost:9990 'cypress run --headless --config ignoreTestFiles=*.chrome.ts'", "test-e2e-next": "start-server-and-test 'pushd ../../; yarn dev-server; popd' http://localhost:3000 'cypress run --headless --config-file=cypress.rsc.json'", "prettier": "prettier ./src/* --write", "watch": "concurrently -c blue,red -n tsc,rollup --kill-others \"tsc --watch -p . --preserveWatchOutput\" \"rollup --config --watch --no-watch.clearScreen\"", "prepack": "yarn build", "postpublish": "git push --tags", "measure": "rollup -c ./rollup.size.config.mjs && bundlesize" }, "dependencies": { "tslib": "^2.4.0" }, "peerDependencies": { "@emotion/is-prop-valid": "*", "react": "^18.0.0", "react-dom": "^18.0.0" }, "peerDependenciesMeta": { "@emotion/is-prop-valid": { "optional": true }, "react": { "optional": true }, "react-dom": { "optional": true } }, "bundlesize": [ { "path": "./dist/size-rollup-motion.js", "maxSize": "34.02 kB" }, { "path": "./dist/size-rollup-m.js", "maxSize": "5.9 kB" }, { "path": "./dist/size-rollup-dom-animation.js", "maxSize": "17.1 kB" }, { "path": "./dist/size-rollup-dom-max.js", "maxSize": "29.1 kB" }, { "path": "./dist/size-rollup-animate.js", "maxSize": "17.9 kB" }, { "path": "./dist/size-rollup-scroll.js", "maxSize": "5.2 kB" }, { "path": "./dist/size-rollup-waapi-animate.js", "maxSize": "2.5 kB" } ], "gitHead": "51ac271f9766fe8864ff1f1974de92215e483ad0" }