UNPKG

3.66 kBJSONView Raw
1{
2 "name": "react-google-button",
3 "version": "0.7.2",
4 "main": "lib/index.js",
5 "module": "es/index.js",
6 "jsnext:main": "es/index.js",
7 "unpkg": "dist/react-google-button.min.js",
8 "typings": "./index.d.ts",
9 "scripts": {
10 "clean": "rimraf lib coverage",
11 "lint": "eslint -c .eslintrc.js ./src",
12 "lint:fix": "npm run lint -- --fix",
13 "format": "prettier --single-quote --no-semi --trailing-comma none --write \"src/**/*.js\" \"test/**/*.js\" webpack.config.js",
14 "test": "mocha -R spec ./test/unit/**",
15 "test:cov": "nyc --reporter=lcov --reporter=html npm run test",
16 "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
17 "build:example": "cp dist/react-google-button.min.js examples/basic",
18 "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
19 "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --mode=development",
20 "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --mode=production",
21 "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
22 "serve": "npm run build && http-server examples/basic",
23 "watch:umd": "npm run build:umd -- --progress --colors --watch",
24 "watch:lib": "npm run build:lib -- --watch",
25 "watch:es": "npm run build:es -- --watch",
26 "watch": "npm run watch:es"
27 },
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/prescottprue/react-google-button.git"
31 },
32 "keywords": [
33 "react",
34 "google",
35 "button",
36 "authentication"
37 ],
38 "author": "prescottprue",
39 "contributors": [
40 {
41 "name": "prescottprue",
42 "email": "sprue.dev@gmail.com"
43 }
44 ],
45 "license": "MIT",
46 "bugs": {
47 "url": "https://github.com/prescottprue/react-google-button/issues"
48 },
49 "homepage": "https://github.com/prescottprue/react-google-button",
50 "dependencies": {
51 "prop-types": "^15.7.2"
52 },
53 "peerDependencies": {
54 "react": "*"
55 },
56 "devDependencies": {
57 "@babel/cli": "^7.8.4",
58 "@babel/core": "^7.9.0",
59 "@babel/plugin-proposal-class-properties": "^7.8.3",
60 "@babel/plugin-proposal-export-default-from": "^7.8.3",
61 "@babel/plugin-transform-modules-commonjs": "^7.9.0",
62 "@babel/preset-env": "^7.9.0",
63 "@babel/preset-react": "^7.9.4",
64 "@babel/register": "^7.9.0",
65 "babel-eslint": "^10.0.3",
66 "babel-loader": "^8.0.6",
67 "chai": "^4.2.0",
68 "chai-enzyme": "1.0.0-beta.1",
69 "cheerio": "^1.0.0-rc.3",
70 "cross-env": "^7.0.2",
71 "enzyme": "^3.11.0",
72 "enzyme-adapter-react-16": "^1.15.1",
73 "eslint": "^6.8.0",
74 "eslint-config-prettier": "^6.10.0",
75 "eslint-config-standard": "^14.1.0",
76 "eslint-config-standard-react": "^9.2.0",
77 "eslint-plugin-babel": "^5.3.0",
78 "eslint-plugin-import": "^2.20.1",
79 "eslint-plugin-jsdoc": "^22.1.0",
80 "eslint-plugin-jsx-a11y": "^6.2.3",
81 "eslint-plugin-node": "^10.0.0",
82 "eslint-plugin-prettier": "^3.1.0",
83 "eslint-plugin-promise": "^4.2.1",
84 "eslint-plugin-react": "^7.16.0",
85 "eslint-plugin-standard": "^4.0.0",
86 "http-server": "^0.12.0",
87 "husky": "^4.2.3",
88 "lint-staged": "^10.0.9",
89 "mocha": "^7.1.1",
90 "nyc": "^15.0.0",
91 "prettier": "^2.0.2",
92 "react": "16.13.0",
93 "react-dom": "16.13.0",
94 "rimraf": "^3.0.0",
95 "sinon": "^9.0.1",
96 "sinon-chai": "^3.3.0",
97 "terser-webpack-plugin": "^2.3.5",
98 "webpack": "^4.42.1",
99 "webpack-cli": "^3.3.11"
100 },
101 "husky": {
102 "hooks": {
103 "pre-commit": "int-staged"
104 }
105 },
106 "lint-staged": {
107 "*.{json,md}": [
108 "prettier --write"
109 ],
110 "*.{js,ts}": [
111 "eslint --fix"
112 ]
113 }
114}