UNPKG

chrome-web-share

Version:

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

96 lines (95 loc) 3.27 kB
{ "name": "chrome-web-share", "version": "2.0.9", "description": "A lightweight React Share Button for mobile web with web share api integration, native intent support and fallback", "main": "dist/index.js", "files": [ "dist", "README" ], "scripts": { "prepublish": "npm run test && npm run build", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "start": "start-storybook -p 3000", "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": "generate-changelog && rm -rf dist && babel src --out-dir dist && npm run build:styles && cp src/social-sprite.png dist/social-sprite.png", "build:styles": "node-sass src --output dist", "build:watch": "concurrently \"babel --watch src --out-dir dist\" \"node-sass --watch src --output dist\"", "docs": "build-storybook -o docs", "build-storybook": "build-storybook" }, "repository": { "type": "git", "url": "https://github.com/martinwheeler/chrome-web-share" }, "keywords": [ "chrome share", "web api share", "react-social", "react-share", "whatsApp", "facebook", "react-mobile-share-btn" ], "author": "Martin Wheeler", "license": "MIT", "bugs": { "url": "https://github.com/martinwheeler/chrome-web-share/issues" }, "homepage": "https://github.com/martinwheeler/chrome-web-share", "devDependencies": { "@storybook/addon-actions": "^3.3.14", "@storybook/addon-knobs": "^3.3.14", "@storybook/addon-links": "^3.3.14", "@storybook/addon-options": "^3.3.14", "@storybook/addons": "^3.3.14", "@storybook/react": "^3.3.14", "autoprefixer": "^6.4.1", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-preset-env": "^1.6.1", "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", "css-loader": "^0.28.10", "cz-conventional-changelog": "^1.2.0", "enzyme": "^2.4.1", "eventsource-polyfill": "^0.9.6", "extract-text-webpack-plugin": "^1.0.1", "file-loader": "^1.1.11", "isparta": "^4.0.0", "istanbul": "^1.1.0-alpha.1", "jsdom": "^9.6.0", "mocha": "^3.1.0", "node-sass": "^4.7.2", "prop-types": "^15.6.0", "react-addons-test-utils": "^15.3.2", "react-lazy-card": "^0.1.1", "rimraf": "^2.5.4", "sass-loader": "^6.0.7", "semantic-release": "^4.3.5", "sinon": "^1.17.6", "style-loader": "^0.20.2", "webpack": "^4.0.1" }, "dependencies": { "core-decorators": "^0.20.0", "react": "^15.x.x", "react-dom": "^15.3.2" }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" } } }