forked from amaroteam/react-credit-cards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 4.62 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "react-credit-cards",
"version": "0.6.0",
"description": "Beautiful credit cards for your payment forms",
"author": "AMARO Fashion <it@amaro.com>",
"contributors": [
{
"name": "Cassio Cardoso",
"email": "cassio.cardoso@amaro.com"
},
{
"name": "Gil Barbara",
"email": "gil.barbara@amaro.com"
}
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/amarofashion/react-credit-cards.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/amarofashion/react-credit-cards/issues"
},
"homepage": "https://github.com/amarofashion/react-credit-cards#readme",
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"prop-types": "^15.6.0"
},
"dependencies": {
"payment": "^2.3.0"
},
"devDependencies": {
"autoprefixer": "^7.1.4",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"browser-sync": "^2.18.13",
"browser-sync-webpack-plugin": "^1.2.0",
"chalk": "^2.1.0",
"clean-webpack-plugin": "^0.1.17",
"copy-webpack-plugin": "^4.1.1",
"css-loader": "^0.28.7",
"date-fns": "^1.28.5",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-loader": "^1.9.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-flowtype": "^2.39.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.4.0",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^1.1.5",
"flow-bin": "^0.56.0",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.14.3",
"image-webpack-loader": "^3.4.2",
"jest-cli": "^21.2.1",
"jsdom": "^11.3.0",
"node-sass": "^4.5.3",
"normalize.css": "^7.0.0",
"postcss": "^6.0.13",
"postcss-loader": "^2.0.6",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.0.0",
"react-hot-loader": "^3.0.0-beta.7",
"react-test-renderer": "^16.0.0",
"sass-loader": "^6.0.6",
"source-map-support": "^0.5.0",
"style-loader": "^0.19.0",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-declaration-strict-value": "^1.0.4",
"stylelint-order": "^0.7.0",
"stylelint-scss": "^2.1.0",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0",
"webpack-node-externals": "^1.6.0"
},
"scripts": {
"start": "node demo/config/webpack.server.js",
"watch": "webpack --config config/webpack.config.js",
"build": "NODE_ENV=production webpack --config config/webpack.build.js",
"build:demo": "NODE_ENV=production webpack --config demo/config/webpack.build.js",
"analyze": "NODE_ENV=production webpack --config config/webpack.build.js --profile --json > webpack.stats.json",
"lint": "eslint --ext .js --ext .jsx src test config",
"lint:styles": "stylelint 'src/**/*.scss'",
"test": "jest --coverage",
"test:watch": "jest --watch",
"precommit": "node config/tools commits && npm run lint && npm run lint:styles && npm test",
"prepublish": "npm run build",
"postmerge": "node config/tools update && npm update"
},
"browserslist": [
"ie >= 10",
"ie_mob >= 10",
"ff >= 40",
"chrome >= 40",
"safari >= 7",
"opera >= 23",
"ios >= 8",
"android >= 4.4",
"bb >= 10"
],
"jest": {
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules",
"src",
"./"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "<rootDir>/test/__setup__/styleMock.js",
"^(.+\\.(jpe?g|png|gif|ttf|eot|svg|md)|expose.*|bootstrap.*|app-store)$": "<rootDir>/test/__setup__/fileMock.js"
},
"setupFiles": [
"<rootDir>/test/__setup__/index.js"
],
"testRegex": "/test/.*?\\.(test|spec)\\.js$",
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 40,
"lines": 40,
"statements": 40
}
},
"verbose": true
}
}