forked from azmenak/react-stripe-checkout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.2 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "react-stripe-checkout",
"version": "2.2.5",
"description": "Easily inject checkout.js as a react component. Will load the script on demand and supports all the options from stripe docs.",
"main": "./dist/main.js",
"scripts": {
"test": "mocha --require babel-register --require .test-setup.js -R spec ./spec.js",
"cover": "nyc -x './spec.js' -n 'StripeCheckout.js' -r text -r html -r lcov npm test",
"watch": "./node_modules/.bin/babel StripeCheckout.js --out-file ./dist/main.js --source-maps inline --watch",
"build": "./node_modules/.bin/babel StripeCheckout.js --out-file ./dist/main.js",
"version": "npm run build"
},
"babel": {
"presets": [
"es2015",
"react",
"stage-0"
],
"plugins": [
"transform-object-assign"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"plugins": [
"react",
"jsx-a11y"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"StripeCheckout": true
},
"rules": {
"import/no-unresolved": 2,
"comma-dangle": [
2,
"always-multiline"
],
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-console": 1,
"max-len": 0,
"prefer-template": 2,
"no-use-before-define": 0,
"newline-per-chained-call": 0,
"arrow-body-style": [
2,
"as-needed"
],
"jsx-a11y/href-no-hash": 2,
"jsx-a11y/label-has-for": 2,
"jsx-a11y/mouse-events-have-key-events": 2,
"jsx-a11y/role-has-required-aria-props": 2,
"jsx-a11y/role-supports-aria-props": 2,
"jsx-a11y/aria-props": 2,
"react/prop-types": [
2,
{
"ignore": [
"dispatch",
"children",
"className",
"style"
]
}
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/azmenak/react-stripe-checkout.git"
},
"keywords": [
"react",
"stripe",
"checkout",
"inject",
"loaded",
"easy"
],
"author": "Adam Zmenak <[email protected]> (http://azmenak.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/azmenak/react-stripe-checkout/issues"
},
"homepage": "https://github.com/azmenak/react-stripe-checkout",
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-core": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-preset-es2015": "^6.13.2",
"babel-preset-react": "^6.11.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.5.0",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-register": "^6.11.6",
"enzyme": "^2.4.1",
"eslint": "^2.10.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.12.0",
"eslint-plugin-jsx-a11y": "^1.2.0",
"eslint-plugin-react": "^5.1.1",
"expect": "^1.20.2",
"jsdom": "^9.4.1",
"mocha": "^3.0.1",
"nyc": "^7.1.0",
"react": "^15.3.0",
"react-addons-test-utils": "^15.3.0"
}
}