package.json
4.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "framer-motion",
"version": "12.38.0",
"description": "A simple and powerful JavaScript animation library",
"main": "dist/cjs/index.js",
"module": "dist/es/index.mjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/es/index.mjs",
"default": "./dist/cjs/index.js"
},
"./debug": {
"types": "./dist/debug.d.ts",
"require": "./dist/cjs/debug.js",
"import": "./dist/es/debug.mjs",
"default": "./dist/cjs/debug.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/types/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": {
"types": "./dist/projection.d.ts",
"import": "./dist/es/projection.mjs",
"default": "./dist/es/projection.mjs"
},
"./package.json": "./package.json"
},
"types": "dist/types/index.d.ts",
"author": "Matt Perry",
"license": "MIT",
"repository": "https://github.com/motiondivision/motion/",
"sideEffects": false,
"keywords": [
"react animation",
"react",
"pose",
"react pose",
"animation",
"gestures",
"drag",
"spring",
"popmotion",
"framer",
"waapi"
],
"scripts": {
"eslint": "yarn run lint",
"lint": "yarn eslint src/**/*.ts",
"build": "yarn clean && tsc --noEmitOnError -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-client": "jest --config jest.config.json --max-workers=2",
"test-server": "jest --config jest.config.ssr.json",
"prettier": "prettier ./src/* --write",
"watch": "concurrently -c blue,red -n tsc --noEmitOnError ,rollup --kill-others \"tsc --noEmitOnError --watch -p . --preserveWatchOutput\" \"rollup --config --watch --no-watch.clearScreen\"",
"prepack": "yarn build && yarn measure",
"postpublish": "git push --tags",
"measure": "rollup -c ./rollup.size.config.mjs"
},
"dependencies": {
"motion-dom": "^12.38.0",
"motion-utils": "^12.36.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@radix-ui/react-dialog": "^1.1.15",
"@thednp/dommatrix": "^2.0.11",
"@types/three": "0.137.0",
"three": "0.137.0"
},
"peerDependencies": {
"@emotion/is-prop-valid": "*",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.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.9 kB"
},
{
"path": "./dist/size-rollup-m.js",
"maxSize": "6 kB"
},
{
"path": "./dist/size-rollup-dom-animation.js",
"maxSize": "17.85 kB"
},
{
"path": "./dist/size-rollup-dom-max.js",
"maxSize": "29.8 kB"
},
{
"path": "./dist/size-rollup-animate.js",
"maxSize": "19.1 kB"
},
{
"path": "./dist/size-rollup-scroll.js",
"maxSize": "5.2 kB"
},
{
"path": "./dist/size-rollup-waapi-animate.js",
"maxSize": "2.26 kB"
}
],
"gitHead": "0bfc9fe015f7170c538ca70ba4677ec59d83ee76"
}