-
Notifications
You must be signed in to change notification settings - Fork 148
/
package.json
104 lines (104 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
{
"name": "react-stickynode",
"version": "5.0.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",
"prop-types": "^15.6.0",
"shallowequal": "^1.0.0",
"subscribe-ui-event": "^3.0.0"
},
"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/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@wdio/cli": "^9.4.1",
"@wdio/local-runner": "^9.4.1",
"@wdio/mocha-framework": "^9.2.8",
"@wdio/sauce-service": "^9.4.1",
"@wdio/spec-reporter": "^9.2.14",
"@wdio/static-server-service": "^9.2.2",
"atomizer": "^3.9.1",
"babel-jest": "^29.0.0",
"babel-plugin-add-module-exports": "^1.0.4",
"chromedriver": "^131.0.2",
"core-js": "^3.39.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": "^11.0.1",
"pre-commit": "^1.0.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-test-renderer": "^19.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 || ^19.0.0",
"react-dom": "^0.14.2 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"precommit": [
"lint",
"test"
],
"license": "BSD-3-Clause",
"browserslist": "> 0.25%, not dead",
"prettier": {
"singleQuote": true,
"tabWidth": 4
}
}