-
Notifications
You must be signed in to change notification settings - Fork 149
/
package.json
108 lines (108 loc) · 3.15 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
{
"name": "react-stickynode",
"version": "4.1.1",
"description": "A performant and comprehensive React sticky component",
"main": "./dist/cjs/Sticky.js",
"module": "./dist/es/Sticky.js",
"scripts": {
"build": "npm run clean && npm run build:commonjs && npm run build:es",
"build:commonjs": "babel --env-name commonjs src -d dist/cjs",
"build:es": "babel --env-name es src -d dist/es",
"build:babel": "babel tests/functional --out-dir tests/functional/dist/",
"build:copy": "cp tests/functional/*.html tests/functional/dist/",
"build:css": "atomizer -o tests/functional/dist/atomic.css ./tests/functional/dist/*-functional.js",
"build:webpack": "webpack",
"clean": "rm -rf dist",
"format": "prettier --write .",
"format:check": "prettier --check .",
"func": "wdio",
"func:build": "rm -rf tests/functional/dist && npm run build:babel && npm run build:css && npm run build:copy && npm run build:webpack",
"func:local": "npm run func:build && wdio",
"lint": "eslint . --fix && npm run format:check",
"prepublish": "npm run build",
"prestart": "npm run prefunc",
"test": "jest --coverage tests/unit"
},
"repository": {
"type": "git",
"url": "https://github.com/yahoo/react-stickynode"
},
"keywords": [
"Sticky",
"React"
],
"author": {
"name": "Hank Hsiao",
"email": "[email protected]"
},
"contributors": [
{
"name": "Steve Carlson",
"email": "[email protected]"
}
],
"engines": {
"node": ">=16",
"npm": ">=8.4"
},
"dependencies": {
"classnames": "^2.0.0",
"core-js": "^3.6.5",
"prop-types": "^15.6.0",
"shallowequal": "^1.0.0",
"subscribe-ui-event": "^2.0.6"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@babel/register": "^7.9.0",
"@testing-library/react": "^16.0.0",
"@wdio/cli": "^8.0.5",
"@wdio/local-runner": "^8.0.3",
"@wdio/mocha-framework": "^8.0.2",
"@wdio/sauce-service": "^8.0.2",
"@wdio/spec-reporter": "^8.0.0",
"@wdio/static-server-service": "^8.0.0",
"atomizer": "^3.9.1",
"babel-jest": "^29.0.0",
"babel-plugin-add-module-exports": "^1.0.4",
"chromedriver": "^130.0.0",
"eslint": "^9.0.0",
"eslint-plugin-react": "^7.37.1",
"gh-pages": "^6.0.0",
"globals": "^15.10.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"mocha": "^10.0.0",
"pre-commit": "^1.0.0",
"prettier": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"wdio-chromedriver-service": "^8.0.0",
"webpack": "^5.41.1",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^5.0.4"
},
"peerDependencies": {
"react": "^0.14.2 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^0.14.2 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"precommit": [
"lint",
"test"
],
"license": "BSD-3-Clause",
"browserslist": [
"last 2 versions",
"ie >= 11",
"iOS >= 12",
"Android >= 11"
],
"prettier": {
"singleQuote": true,
"tabWidth": 4
}
}