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