-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
112 lines (112 loc) · 3.45 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
{
"name": "react-scroll-up-button",
"version": "1.6.4",
"main": "index.js",
"module": "dist/esm/react-scroll-up-button.js",
"sideEffects": false,
"description": "React component Scroll up button, fixed button to scroll up to desired position",
"files": [
"react-scroll-up-button.js",
"cjs",
"es",
"esm",
"index.js"
],
"scripts": {
"compile": "npx del-cli dist && rollup -c",
"example:install": "cd example && npm install",
"example:build": "npm run compile && npm run example:install && cd example && npm run build",
"example:develop": "npm run example:install && cd example && npm run develop",
"cypress:open": "cypress open",
"cypress:run": "npx cypress run",
"dev:server": "npm run example:develop",
"dev:cypress": "start-server-and-test dev:server http://localhost:8000 cypress:open",
"dev:test": "npx jest --no-cache --coverage --watch",
"test": "npx jest --coverage --coverageReporters=text-lcov | coveralls",
"test:server": "npm run compile && npx webpack-dev-server --config ./tests/server/webpack.config.js",
"test:cypress": "start-server-and-test test:server http://localhost:8000 cypress:run",
"prepublishOnly": "npm run compile",
"eslint:example": "eslint example/src",
"eslint:cypress": "eslint cypress",
"eslint:tests": "eslint tests",
"eslint:src": "eslint src",
"eslint": "npm run compile && npm run eslint:src && npm run eslint:cypress && npm run eslint:tests && npm run eslint:example"
},
"jest": {
"verbose": true,
"testRegex": "(/tests/specs/.*)",
"globals": {
"window": true
},
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": -10
}
},
"collectCoverageFrom": [
"src/*.{js,jsx}"
]
},
"author": "Dirtyredz | David McCLain <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dirtyredz/react-scroll-up-button.git"
},
"keywords": [
"scroll",
"scrollUp",
"scrollToTop",
"animation",
"effects",
"react",
"react-component"
],
"devDependencies": {
"@babel/core": "7.1.6",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.6",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"coveralls": "^3.0.2",
"del-cli": "1.1.0",
"eslint": "5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-prettier": "3.0.0",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.6.0",
"jest-dom": "2.1.1",
"react": "16.6.3",
"react-dom": "16.6.3",
"react-testing-library": "5.3.0",
"rollup": "0.67.3",
"rollup-plugin-babel": "4.0.3",
"rollup-plugin-commonjs": "9.2.0",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-replace": "2.1.0",
"rollup-plugin-size-snapshot": "0.7.0",
"rollup-plugin-terser": "3.0.0",
"start-server-and-test": "1.7.11",
"webpack": "4.26.1",
"webpack-cli": "3.1.2",
"webpack-dev-server": ">=3.1.11"
},
"peerDependencies": {
"react": "^15.5.4 || ^16.0.0"
},
"dependencies": {
"@babel/runtime": "7.1.5",
"cypress": "^3.1.3",
"detect-passive-events": "^1.0.4",
"prop-types": "^15.6.2",
"tween-functions": "^1.2.0"
}
}