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