/
package.json
103 lines (103 loc) · 4.16 KB
/
package.json
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
{
"name": "framer-motion",
"version": "7.10.3",
"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-appear": "yarn run collect-appear-tests && start-server-and-test 'pushd ../../; python -m SimpleHTTPServer; popd' http://0.0.0.0:8000 'cypress run -s cypress/integration/appear.chrome.ts --config baseUrl=http://localhost:8000/'",
"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-appear && 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-appear-tests": "node ../../dev/optimized-appear/collect-appear-tests.js",
"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.15.3",
"hey-listen": "^1.0.8",
"tslib": "2.4.0"
},
"optionalDependencies": {
"@emotion/is-prop-valid": "^0.8.2"
},
"bundlesize": [
{
"path": "./dist/size-rollup-motion.js",
"maxSize": "29.30 kB"
},
{
"path": "./dist/size-rollup-m.js",
"maxSize": "4.74 kB"
},
{
"path": "./dist/size-rollup-dom-animation.js",
"maxSize": "14.53 kB"
},
{
"path": "./dist/size-rollup-dom-max.js",
"maxSize": "25.25 kB"
},
{
"path": "./dist/size-webpack-m.js",
"maxSize": "4.96 kB"
},
{
"path": "./dist/size-webpack-dom-animation.js",
"maxSize": "18.7 kB"
},
{
"path": "./dist/size-webpack-dom-max.js",
"maxSize": "30.23kB"
}
],
"gitHead": "b0267f01c58c549a282ff3c97f0fb32ac1450668"
}