UNPKG

react-share-btn

Version:

A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback

93 lines (92 loc) 3.24 kB
{ "name": "react-share-btn", "description": "A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback", "main": "dist/index.js", "jsnext:main": "components/index.js", "module": "components/index.js", "files": [ "components", "dist", "README" ], "scripts": { "lint": "eslint components/**/*.js tests/**/*.js", "lintfix": "eslint --fix components/**/*.js tests/**/*.js", "prepublish": "npm run lint && npm run test && npm run build", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "storybook": "start-storybook -p 9002 --dont-track", "test": "mocha --require tests/config/setup 'tests/**/*.test.js'", "test:watch": "mocha --require tests/config/setup 'tests/**/*.test.js' --watch", "test:cover": "istanbul cover -x *.test.js _mocha -- -R spec --require tests/config/setup 'tests/**/*.test.js'", "test:report": "cat ./coverage/lcov.info | codecov && rm -rf ./coverage", "build": "rm -rf dist && babel components --out-dir dist && npm run build:styles", "build:styles": "node-sass components --output dist", "build:watch": "concurrently \"babel --watch components --out-dir dist\" \"node-sass --watch components --output dist\"", "docs": "build-storybook -o docs" }, "repository": { "type": "git", "url": "https://github.com/housinghq/react-mobile-share-btn" }, "keywords": [ "react-social", "react-share", "whatsApp", "facebook", "react-mobile-share-btn" ], "author": "Chetan Garg", "license": "MIT", "bugs": { "url": "https://github.com/housinghq/react-mobile-share-btn/issues" }, "homepage": "https://github.com/housinghq/react-mobile-share-btn", "devDependencies": { "@kadira/storybook": "^2.24.0", "@kadira/storybook-addon-actions": "^1.1.1", "@kadira/storybook-addon-knobs": "^1.3.0", "@kadira/storybook-addon-options": "^1.0.1", "autoprefixer": "^6.4.1", "babel-cli": "^6.16.0", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-preset-es2015": "^6.14.0", "babel-preset-react": "^6.11.1", "chai": "^3.5.0", "chai-enzyme": "^0.5.2", "codecov.io": "^0.1.6", "commitizen": "^2.8.6", "concurrently": "^3.1.0", "cz-conventional-changelog": "^1.2.0", "enzyme": "^2.4.1", "eslint": "^3.7.1", "eslint-config-standard": "^6.2.0", "eslint-config-standard-react": "^4.2.0", "eslint-plugin-promise": "^2.0.1", "eslint-plugin-react": "^6.3.0", "eslint-plugin-standard": "^2.0.1", "eventsource-polyfill": "^0.9.6", "extract-text-webpack-plugin": "^1.0.1", "isparta": "^4.0.0", "istanbul": "^1.1.0-alpha.1", "jsdom": "^9.6.0", "mocha": "^3.1.0", "node-sass": "^3.10.1", "react-addons-test-utils": "^15.3.2", "react-lazy-card": "^0.1.1", "rimraf": "^2.5.4", "sass-loader": "^4.0.2", "semantic-release": "^4.3.5", "sinon": "^1.17.6" }, "dependencies": { "react": "^15.x.x", "react-dom": "^15.3.2", "react-auto-bind": "^0.2.0" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } }, "version": "0.0.2" }