UNPKG

4 kBJSONView Raw
1{
2 "name": "framer-motion",
3 "version": "7.3.2",
4 "description": "A simple and powerful React animation library",
5 "main": "dist/cjs/index.js",
6 "module": "dist/es/index.mjs",
7 "exports": {
8 ".": {
9 "types": "./dist/index.d.ts",
10 "require": "./dist/cjs/index.js",
11 "import": "./dist/es/index.mjs",
12 "default": "./dist/cjs/index.js"
13 },
14 "./package.json": "./package.json"
15 },
16 "types": "dist/index.d.ts",
17 "author": "Framer",
18 "license": "MIT",
19 "repository": "https://github.com/framer/motion/",
20 "sideEffects": false,
21 "keywords": [
22 "react animation",
23 "react",
24 "three",
25 "3d",
26 "pose",
27 "react pose",
28 "animation",
29 "gestures",
30 "drag",
31 "spring",
32 "popmotion",
33 "framer"
34 ],
35 "scripts": {
36 "lint": "yarn eslint src/**/*.ts",
37 "build": "yarn clean && tsc -p . && rollup -c && webpack --config webpack.size.config.js",
38 "dev": "yarn watch",
39 "clean": "rm -rf types dist lib",
40 "test": "yarn test-server && yarn test-client",
41 "test-ci": "yarn test",
42 "test-client": "jest --config jest.config.json --max-workers=2",
43 "test-server": "jest --config jest.config.ssr.json",
44 "test-watch": "jest --watch --coverage --coverageReporters=lcov --config jest.config.json",
45 "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/'",
46 "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\"'",
47 "test-e2e-electron": "start-server-and-test start-dev-server http://localhost:9990 'cypress run --headless --config ignoreTestFiles=*.chrome.ts'",
48 "test-e2e": "yarn test-projection && yarn test-e2e-electron",
49 "test-e2e-file": "start-server-and-test start-dev-server http://localhost:9990 'cypress run --headless --spec \"cypress/integration/while-in-view.ts\"'",
50 "collect-projection-tests": "node ../../dev/projection/collect-projection-tests.js",
51 "prettier": "prettier ./src/* --write",
52 "watch": "concurrently -c blue,red -n tsc,rollup --kill-others \"tsc --watch -p . --preserveWatchOutput\" \"rollup --config --watch --no-watch.clearScreen\"",
53 "prepack": "yarn build",
54 "postpublish": "git push --tags",
55 "measure": "bundlesize",
56 "start-dev-server": "webpack serve --config ../../dev/webpack/config.js --hot"
57 },
58 "peerDependencies": {
59 "react": "^18.0.0",
60 "react-dom": "^18.0.0"
61 },
62 "dependencies": {
63 "@motionone/dom": "10.13.1",
64 "framesync": "6.1.2",
65 "hey-listen": "^1.0.8",
66 "popmotion": "11.0.5",
67 "style-value-types": "5.1.2",
68 "tslib": "2.4.0"
69 },
70 "optionalDependencies": {
71 "@emotion/is-prop-valid": "^0.8.2"
72 },
73 "bundlesize": [
74 {
75 "path": "./dist/size-rollup-motion.js",
76 "maxSize": "29.21 kB"
77 },
78 {
79 "path": "./dist/size-rollup-m.js",
80 "maxSize": "4.69 kB"
81 },
82 {
83 "path": "./dist/size-rollup-dom-animation.js",
84 "maxSize": "16.75 kB"
85 },
86 {
87 "path": "./dist/size-rollup-dom-max.js",
88 "maxSize": "27.2 kB"
89 },
90 {
91 "path": "./dist/size-webpack-m.js",
92 "maxSize": "4.9 kB"
93 },
94 {
95 "path": "./dist/size-webpack-dom-animation.js",
96 "maxSize": "19.1 kB"
97 },
98 {
99 "path": "./dist/size-webpack-dom-max.js",
100 "maxSize": "30.3kB"
101 }
102 ],
103 "gitHead": "b9f74c779ad20d593c27589b581e42b711cad87a"
104}