-
Notifications
You must be signed in to change notification settings - Fork 306
/
Copy pathpackage.json
138 lines (138 loc) · 4.22 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
129
130
131
132
133
134
135
136
137
138
{
"name": "react-credit-cards",
"version": "0.7.0",
"description": "Beautiful credit cards for your payment forms",
"author": "AMARO Fashion <[email protected]>",
"contributors": [
{
"name": "Cassio Cardoso",
"email": "[email protected]"
},
{
"name": "Gil Barbara",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/amarofashion/react-credit-cards.git"
},
"bugs": {
"url": "https://github.com/amarofashion/react-credit-cards/issues"
},
"homepage": "https://github.com/amarofashion/react-credit-cards#readme",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"es",
"lib",
"src"
],
"keywords": [
"react",
"react-component",
"credit card",
"payment"
],
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"prop-types": "^15.6.2"
},
"dependencies": {
"payment": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-proposal-do-expressions": "^7.6.0",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/plugin-proposal-function-sent": "^7.5.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-proposal-pipeline-operator": "^7.5.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "^9.6.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-array-includes": "^2.0.3",
"bundlesize": "^0.18.0",
"chalk": "^2.4.2",
"cross-env": "^5.2.1",
"date-fns": "^2.2.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.4.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"flow-bin": "^0.107.0",
"husky": "^3.0.5",
"jest-cli": "^24.9.0",
"jsdom": "^15.1.1",
"node-sass": "^4.12.0",
"postcss": "^7.0.18",
"postcss-cli": "^6.1.3",
"prop-types": "^15.7.2",
"react": "^16.6.3",
"react-dom": "^16.9.0",
"rimraf": "^3.0.0",
"stylelint": "^11.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-declaration-strict-value": "^1.1.3",
"stylelint-order": "^3.1.1",
"stylelint-scss": "^3.10.1",
"watch-run": "^1.2.5",
"yargs": "^14.0.0"
},
"scripts": {
"build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:styles",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib",
"build:es": "cross-env NODE_ENV=production babel src -d es",
"build:styles": "node tools build-styles",
"watch": "npm run build && watch-run -p 'src/**/*.js' npm run build:es",
"clean": "rimraf es && rimraf lib",
"lint": "eslint --ext .js --ext .jsx src test tools",
"lint:styles": "stylelint 'src/**/*.scss'",
"test": "jest --coverage",
"test:watch": "jest --watch",
"bundlesize": "bundlesize",
"prepublishOnly": "npm run build"
},
"browserslist": [
"> 0.2%",
"not dead"
],
"bundlesize": [
{
"path": "./es/index.js",
"maxSize": "5 kB"
},
{
"path": "./lib/index.js",
"maxSize": "5 kB"
}
],
"husky": {
"hooks": {
"post-merge": "node tools update && npm update",
"pre-commit": "node tools commits && npm run lint && npm run lint:styles && npm test"
}
}
}