-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
120 lines (120 loc) · 3.8 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
{
"name": "react-motion",
"version": "0.5.2",
"description": "A spring that solves your animation problems.",
"main": "lib/react-motion.js",
"module": "lib/react-motion.esm.js",
"peerDependencies": {
"react": "^0.14.9 || ^15.3.0 || ^16.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-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": "^5.2.0",
"css-loader": "^0.28.11",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-react": "^7.10.0",
"flow-bin": "^0.53.1",
"flow-copy-source": "^1.1.0",
"husky": "^0.14.3",
"inject-loader": "^4.0.1",
"isparta-loader": "^2.0.0",
"jasmine-core": "^3.1.0",
"karma": "^2.0.4",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.2",
"karma-jasmine": "^1.1.2",
"karma-jasmine-diff-reporter": "^1.2.0",
"karma-webpack": "^3.0.0",
"lint-staged": "^7.2.0",
"lodash.range": "^3.0.1",
"prettier": "^1.14.2",
"react": ">=15.5.0",
"react-codemirror": ">=0.1.2",
"react-dom": ">=15.5.0",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^9.1.4",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.0",
"rollup-plugin-uglify": "^4.0.0",
"style-loader": "^0.21.0",
"webpack": "^4.14.0",
"webpack-command": "^0.4.0",
"webpack-dev-server": "^3.1.4"
},
"scripts": {
"start": "node server.js",
"prebuild:dist": "rm -rf build",
"build:dist": "rollup -c",
"prebuild:lib": "rm -rf lib",
"build:lib": "babel src --out-dir lib",
"build:flow": "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": {
"@babel/runtime": "7.7.2",
"performance-now": "^2.1.0",
"prop-types": "^15.5.8",
"raf": "^3.1.0"
}
}