-
Notifications
You must be signed in to change notification settings - Fork 209
/
package.json
92 lines (92 loc) · 3.18 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
{
"name": "react-waypoint",
"version": "10.3.0",
"description": "A React component to execute a function whenever you scroll to an element.",
"main": "cjs/index.js",
"module": "es/index.js",
"types": "index.d.ts",
"files": [
"cjs",
"es",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/civiccc/react-waypoint.git"
},
"homepage": "https://github.com/civiccc/react-waypoint",
"bugs": "https://github.com/civiccc/react-waypoint/issues",
"scripts": {
"build": "npm run clean && rollup -c",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"clean": "rimraf es cjs",
"lint": "eslint . --ext .js,.jsx",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"pretest": "npm run --silent lint",
"preversion": "npm run check-changelog && npm run check-only-changelog-changed",
"tag": "git tag v$npm_package_version",
"test": "npm run test:browser && npm run test:node",
"test:node": "jest 'test/node/.*.js'",
"test:browser": "karma start --single-run",
"test:browser:watch": "karma start --no-single-run",
"performance-test:watch": "webpack --watch --config webpack.config.performance-test.js"
},
"author": "Brigade Engineering",
"license": "MIT",
"peerDependencies": {
"react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@rollup/plugin-babel": "^5.2.1",
"@types/react": "^16.14.5",
"babel-loader": "^8.0.0",
"babel-preset-airbnb": "^5.0.0",
"eslint": "^7.12.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.2",
"in-publish": "^2.0.0",
"jasmine-core": "^2.99.1",
"jest": "^26.6.3",
"karma": "^6.0.2",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^1.1.2",
"karma-webpack": "^4.0.2",
"loose-envify": "^1.4.0",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-test-renderer": "^16.0.0 || ^17.0.0 || ^18.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.33.2",
"safe-publish-latest": "^1.1.1",
"webpack": "^4.46.0",
"webpack-cli": "^4.4.0"
},
"keywords": [
"react",
"component",
"react-component",
"scroll",
"onscroll",
"scrollspy"
],
"dependencies": {
"@babel/runtime": "^7.12.5",
"consolidated-events": "^1.1.0 || ^2.0.0",
"prop-types": "^15.0.0",
"react-is": "^17.0.1 || ^18.0.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}