UNPKG

3.39 kBJSONView Raw
1{
2 "name": "react-github-login-button",
3 "version": "1.0.1",
4 "main": "lib/index.js",
5 "module": "es/index.js",
6 "jsnext:main": "es/index.js",
7 "unpkg": "dist/react-github-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:example": "cp dist/react-github-button.min.js examples/basic",
17 "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
18 "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --mode=development",
19 "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --mode=production",
20 "build": "npm run build:es && npm run build:umd && npm run build:umd:min",
21 "serve": "npm run build && http-server examples/basic",
22 "watch:umd": "npm run build:umd -- --progress --colors --watch",
23 "watch:lib": "npm run build:lib -- --watch",
24 "watch:es": "npm run build:es -- --watch",
25 "watch": "npm run watch:es",
26 "prepublishOnly": "npm run clean && npm run lint:fix && npm run build && npm run test:cov"
27 },
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/ehacke/react-github-button.git"
31 },
32 "keywords": [
33 "react",
34 "github",
35 "button",
36 "signin",
37 "authentication"
38 ],
39 "author": "Eric Hacke",
40 "license": "MIT",
41 "bugs": {
42 "url": "https://github.com/ehacke/react-github-button/issues"
43 },
44 "homepage": "https://github.com/ehacke/react-github-button",
45 "dependencies": {
46 "prop-types": "^15.7.2"
47 },
48 "peerDependencies": {
49 "react": "*"
50 },
51 "devDependencies": {
52 "@babel/cli": "^7.7.4",
53 "@babel/core": "^7.7.4",
54 "@babel/plugin-proposal-class-properties": "^7.7.4",
55 "@babel/plugin-proposal-export-default-from": "^7.7.4",
56 "@babel/plugin-transform-modules-commonjs": "^7.7.4",
57 "@babel/preset-env": "^7.7.4",
58 "@babel/preset-react": "^7.7.4",
59 "@babel/register": "^7.7.4",
60 "babel-eslint": "^10.0.3",
61 "babel-loader": "^8.0.6",
62 "chai": "^4.2.0",
63 "chai-enzyme": "1.0.0-beta.1",
64 "cheerio": "^1.0.0-rc.3",
65 "cross-env": "^6.0.3",
66 "enzyme": "^3.10.0",
67 "enzyme-adapter-react-16": "^1.15.1",
68 "eslint": "^6.7.0",
69 "eslint-config-prettier": "^6.2.0",
70 "eslint-config-standard": "^14.1.0",
71 "eslint-config-standard-react": "^9.2.0",
72 "eslint-plugin-babel": "^5.3.0",
73 "eslint-plugin-import": "^2.18.2",
74 "eslint-plugin-jsdoc": "^18.1.4",
75 "eslint-plugin-jsx-a11y": "^6.2.3",
76 "eslint-plugin-node": "^10.0.0",
77 "eslint-plugin-prettier": "^3.1.0",
78 "eslint-plugin-promise": "^4.2.1",
79 "eslint-plugin-react": "^7.16.0",
80 "eslint-plugin-standard": "^4.0.0",
81 "http-server": "^0.12.0",
82 "husky": "^3.1.0",
83 "mocha": "^6.2.2",
84 "nyc": "^14.1.1",
85 "prettier": "^1.19.1",
86 "react": "16.12.0",
87 "react-dom": "16.12.0",
88 "rimraf": "^3.0.0",
89 "sinon": "^7.5.0",
90 "sinon-chai": "^3.3.0",
91 "terser-webpack-plugin": "^2.2.2",
92 "webpack": "^4.41.2",
93 "webpack-cli": "^3.3.10"
94 },
95 "husky": {
96 "hooks": {
97 "pre-push": "npm run lint"
98 }
99 }
100}