framer-motion
Version:
A simple and powerful React animation library
105 lines (104 loc) • 4 kB
JSON
{
"name": "framer-motion",
"version": "7.3.2",
"description": "A simple and powerful React 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"
},
"./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"
],
"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 --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 'pushd ../../; python -m SimpleHTTPServer; popd' http://0.0.0.0:8000 '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-projection && 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": "^18.0.0",
"react-dom": "^18.0.0"
},
"dependencies": {
"@motionone/dom": "10.13.1",
"framesync": "6.1.2",
"hey-listen": "^1.0.8",
"popmotion": "11.0.5",
"style-value-types": "5.1.2",
"tslib": "2.4.0"
},
"optionalDependencies": {
"@emotion/is-prop-valid": "^0.8.2"
},
"bundlesize": [
{
"path": "./dist/size-rollup-motion.js",
"maxSize": "29.21 kB"
},
{
"path": "./dist/size-rollup-m.js",
"maxSize": "4.69 kB"
},
{
"path": "./dist/size-rollup-dom-animation.js",
"maxSize": "16.75 kB"
},
{
"path": "./dist/size-rollup-dom-max.js",
"maxSize": "27.2 kB"
},
{
"path": "./dist/size-webpack-m.js",
"maxSize": "4.9 kB"
},
{
"path": "./dist/size-webpack-dom-animation.js",
"maxSize": "19.1 kB"
},
{
"path": "./dist/size-webpack-dom-max.js",
"maxSize": "30.3kB"
}
],
"gitHead": "b9f74c779ad20d593c27589b581e42b711cad87a"
}