UNPKG

@kcirtaptrick/framer-motion

Version:

A simple and powerful React animation library

107 lines (106 loc) 4.04 kB
{ "name": "@kcirtaptrick/framer-motion", "version": "6.2.9", "description": "A simple and powerful React animation library", "main": "dist/cjs/index.js", "module": "dist/es/index.mjs", "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/es/index.mjs", "default": "./dist/cjs/index.js" }, "./package.json": "./package.json" }, "types": "types/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" ], "scripts": { "lint": "yarn eslint src/**/*.ts", "build": "yarn clean && tsc -p . && rollup -c && webpack --config webpack.size.config.js", "dev": "yarn watch", "clean": "rm -rf types dist lib", "test": "yarn test-server && yarn test-client", "test-ci": "yarn test", "test-client": "jest --coverage --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-projection": "yarn run collect-projection-tests && start-server-and-test 'python -m SimpleHTTPServer' http://0.0.0.0:8000 'yarn run cypress run -s cypress/integration/projection.chrome.ts --config baseUrl=http://localhost:8000/'", "test-e2e-chrome": "start-server-and-test start-dev-server http://localhost:9990 'cypress run --headless --browser chrome --spec \"cypress/integration/layout-relative.chrome.ts\"'", "test-e2e-electron": "start-server-and-test start-dev-server http://localhost:9990 'cypress run --headless --config ignoreTestFiles=*.chrome.ts'", "test-e2e": "yarn test-e2e-electron", "test-e2e-file": "start-server-and-test start-dev-server http://localhost:9990 'cypress run --headless --spec \"cypress/integration/while-in-view.ts\"'", "collect-projection-tests": "node ../../dev/projection/collect-projection-tests.js", "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": "bundlesize", "start-dev-server": "webpack serve --config ../../dev/webpack/config.js --hot" }, "peerDependencies": { "react": ">=16.8 || ^17.0.0 || ^18.0.0", "react-dom": ">=16.8 || ^17.0.0 || ^18.0.0" }, "dependencies": { "framesync": "6.0.1", "hey-listen": "^1.0.8", "popmotion": "11.0.3", "style-value-types": "5.0.0", "tslib": "^2.1.0" }, "devDependencies": { "jest": "^27.4.7", "jest-dom": "^3.5.0" }, "optionalDependencies": { "@emotion/is-prop-valid": "^0.8.2" }, "bundlesize": [ { "path": "./dist/framer-motion.js", "maxSize": "35.6 kB" }, { "path": "./dist/size-rollup-m.js", "maxSize": "6.4 kB" }, { "path": "./dist/size-rollup-dom-animation.js", "maxSize": "17.1 kB" }, { "path": "./dist/size-rollup-dom-max.js", "maxSize": "28.1 kB" }, { "path": "./dist/size-webpack-m.js", "maxSize": "6.7 kB" }, { "path": "./dist/size-webpack-dom-animation.js", "maxSize": "19.5 kB" }, { "path": "./dist/size-webpack-dom-max.js", "maxSize": "31.5 kB" } ], "gitHead": "c09d226c4738a27e4d4b1f4bd65ff223547e5ad9" }