UNPKG

2.08 kBJSONView Raw
1{
2 "name": "react-scroll-sync",
3 "version": "0.11.2",
4 "description": "Synchronize scroll positions across multiple scrollable containers",
5 "main": "dist/index.js",
6 "scripts": {
7 "clean": "rimraf ./dist",
8 "prebuild": "npm run lint",
9 "build": "NODE_ENV=production npm run clean && webpack",
10 "prepare": "npm run build",
11 "lint": "eslint src --ext .js,.jsx",
12 "lint:fix": "npm run lint -- --fix",
13 "lint:staged": "lint-staged",
14 "styleguide:server": "styleguidist server",
15 "styleguide:build": "styleguidist build"
16 },
17 "lint-staged": {
18 "*.js": [
19 "eslint --fix",
20 "git add"
21 ]
22 },
23 "pre-commit": "lint:staged",
24 "repository": {
25 "type": "git",
26 "url": "https://github.com/okonet/react-scroll-sync.git"
27 },
28 "keywords": [],
29 "author": "Andrey Okonetchnikov <andrey@okonet.ru>",
30 "license": "MIT",
31 "bugs": {
32 "url": "https://github.com/okonet/react-scroll-sync/issues"
33 },
34 "homepage": "https://github.com/okonet/react-scroll-sync#readme",
35 "eslintConfig": {
36 "extends": "okonet",
37 "rules": {
38 "react/forbid-prop-types": 0,
39 "react/jsx-wrap-multilines": 0
40 },
41 "import/no-extraneous-dependencies": [
42 "error",
43 {
44 "peerDependencies": [
45 "src/*.js"
46 ],
47 "devDependencies": [
48 "**/*.test.js",
49 "**/*.spec.js"
50 ]
51 }
52 ]
53 },
54 "devDependencies": {
55 "babel-loader": "6.2.5",
56 "babel-plugin-add-module-exports": "0.2.1",
57 "babel-preset-es2015": "6.16.0",
58 "babel-preset-react": "6.16.0",
59 "babel-preset-stage-1": "6.16.0",
60 "eslint": "3.7.1",
61 "eslint-config-okonet": "1.1.1",
62 "jest": "16.0.0",
63 "lint-staged": "3.0.3",
64 "npmpub": "3.1.0",
65 "pre-commit": "1.1.3",
66 "prop-types": "15.5.10",
67 "react": "18.1.0",
68 "react-dom": "18.1.0",
69 "react-styleguidist": "6.5.3",
70 "rimraf": "2.5.4",
71 "webpack": "2.7.0"
72 },
73 "peerDependencies": {
74 "react": "16.x || 17.x || 18.x",
75 "react-dom": "16.x || 17.x || 18.x"
76 },
77 "dependencies": {
78 "prop-types": "^15.5.7"
79 }
80}