-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
80 lines (80 loc) · 2.21 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
{
"name": "react-scrollama",
"version": "2.4.0",
"description": "A lightweight scrollytelling interface for React using the IntersectionObserver.",
"author": "Jason Kao <[email protected]> (https://jasonkao.me)",
"license": "MIT",
"homepage": "https://jsonkao.github.io/react-scrollama/",
"main": "dist/index.js",
"module": "dist/index.es.js",
"workspaces": [
".",
"example"
],
"keywords": [
"react",
"scrollama",
"scrollytelling",
"IntersectionObserver",
"interactive",
"graphic",
"scroll",
"scroll-driven"
],
"repository": {
"type": "git",
"url": "https://github.com/jsonkao/react-scrollama"
},
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"check": "npm run check:format && npm run check:lint",
"check:lint": "eslint . --report-unused-disable-directives",
"check:format": "prettier --write .",
"prepublishOnly": "npm run build",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"test": "echo \"Error: no test specified\""
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.2 || ^18.2.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.2 || ^18.2.0 || ^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.26.9",
"@babel/eslint-parser": "^7.26.8",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.20.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@babel/plugin-transform-class-properties": "^7.25.9",
"eslint": "^9.20.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"gh-pages": "^6.3.0",
"globals": "^16.0.0",
"prettier": "^3.5.1",
"rollup": "^4.34.8",
"rollup-plugin-peer-deps-external": "^2.2.4"
},
"files": [
"dist"
],
"prettier": {
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid"
},
"dependencies": {
"react-intersection-observer": "^9.3.5"
}
}