All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
{
|
|
"name": "react-scroll-sync",
|
|
"version": "0.9.0",
|
|
"description": "Synchronize scroll positions across multiple scrollable containers",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"clean": "rimraf ./dist",
|
|
"prebuild": "npm run lint",
|
|
"build": "NODE_ENV=production npm run clean && webpack",
|
|
"prepublish": "npm run build",
|
|
"lint": "eslint .",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"lint:staged": "lint-staged",
|
|
"styleguide:server": "styleguidist server",
|
|
"styleguide:build": "styleguidist build"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"pre-commit": "lint:staged",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/okonet/react-scroll-sync.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "Andrey Okonetchnikov <andrey@okonet.ru>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/okonet/react-scroll-sync/issues"
|
|
},
|
|
"homepage": "https://github.com/okonet/react-scroll-sync#readme",
|
|
"eslintConfig": {
|
|
"extends": "okonet",
|
|
"rules": {
|
|
"react/forbid-prop-types": 0
|
|
},
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"peerDependencies": [
|
|
"src/*.js"
|
|
],
|
|
"devDependencies": [
|
|
"**/*.test.js",
|
|
"**/*.spec.js"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"babel-loader": "6.2.5",
|
|
"babel-plugin-add-module-exports": "0.2.1",
|
|
"babel-preset-es2015": "6.16.0",
|
|
"babel-preset-react": "6.16.0",
|
|
"babel-preset-stage-1": "6.16.0",
|
|
"eslint": "3.7.1",
|
|
"eslint-config-okonet": "1.1.1",
|
|
"jest": "16.0.0",
|
|
"lint-staged": "3.0.3",
|
|
"npmpub": "3.1.0",
|
|
"pre-commit": "1.1.3",
|
|
"prop-types": "15.5.10",
|
|
"react": "15.3.2",
|
|
"react-dom": "15.3.2",
|
|
"react-styleguidist": "5.0.0-beta8",
|
|
"rimraf": "2.5.4",
|
|
"webpack": "1.13.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "0.14.x || 15.x || 16.x || 17.x",
|
|
"react-dom": "0.14.x || 15.x || 16.x || 17.x"
|
|
},
|
|
"dependencies": {
|
|
"prop-types": "^15.5.7"
|
|
}
|
|
}
|