forked from serprex/react-motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.92 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@korbav/react-motion",
"version": "0.0.2",
"description": "A spring that solves your animation problems. Fork enabling React 17 compatibility & removing deprecated UNSAFE_* methods.",
"main": "lib/react-motion.js",
"module": "lib/react-motion.esm.js",
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0-rc.1",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-transform-modules-commonjs": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.7.0",
"@babel/runtime": "^7.11.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-replace": "^3.0.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"codemirror": "^5.5.0",
"cross-env": "^7.0.2",
"css-loader": "^5.0.0",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-react": "^7.10.0",
"eslint-webpack-plugin": "^2.1.0",
"flow-bin": "^0.135.0",
"flow-copy-source": "^2.0.9",
"husky": "^4.3.0",
"inject-loader": "^4.0.1",
"isparta-loader": "^2.0.0",
"jasmine-core": "^3.1.0",
"karma": "^5.2.3",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-jasmine": "^4.0.1",
"karma-jasmine-diff-reporter": "^2.0.0",
"karma-webpack": "^4.0.2",
"lint-staged": "^10.4.0",
"lodash.range": "^3.0.1",
"prettier": "^2.1.2",
"react": ">=15.5.0",
"react-codemirror": ">=0.1.2",
"react-dom": ">=15.5.0",
"rollup": "^2.30.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-uglify": "^6.0.4",
"style-loader": "^2.0.0",
"webpack": "^5.1.0",
"webpack-command": "^0.5.0",
"webpack-dev-server": "^3.1.4"
},
"scripts": {
"start": "node server.js",
"prebuild:dist": "rm -rf build",
"build:dist": "npx rollup -c",
"prebuild:lib": "rm -rf lib",
"build:lib": "npx babel src --out-dir lib",
"build:flow": "npx flow-copy-source -v src lib",
"build": "npm run build:dist && npm run build:lib && npm run build:flow",
"build-demos": "webpack",
"lint": "eslint --ext .js,.jsx .",
"flow_check": "flow check",
"prepublishOnly": "npm run build",
"test": "cross-env NODE_ENV=test karma start ./karma.conf.js --single-run",
"test:travis": "cross-env NODE_ENV=test karma start ./karma.conf.js --single-run",
"test:dev": "cross-env NODE_ENV=test karma start ./karma.conf.js --no-single-run --auto-watch",
"test:cov": "cross-env NODE_ENV=test karma start ./karma.conf.js --single-run --reporters coverage",
"gh-pages": "git fetch origin && git checkout gh-pages && git reset --hard origin/gh-pages && git rebase origin/master --force-rebase && npm run build-demos && git add . && git commit --amend --no-edit && git push origin gh-pages --force && git checkout master",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"repository": {
"type": "git",
"url": "https://github.com/chenglou/react-motion.git"
},
"keywords": [
"react",
"component",
"react-component",
"transitiongroup",
"spring",
"tween",
"motion",
"animation",
"transition",
"ui"
],
"author": [
"nkbt",
"chenglou"
],
"license": "MIT",
"dependencies": {
"lodash.isequal": "^4.5.0",
"performance-now": "^2.1.0",
"prop-types": "^15.5.8",
"raf": "^3.1.0"
}
}