forked from stripe-archive/react-stripe-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.55 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
{
"name": "react-stripe-elements",
"version": "1.0.1",
"description": "",
"main": "./lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"scripts": {
"test": "node_modules/.bin/jest",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/react-stripe-elements.js --config webpack.config.prod.js",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/react-stripe-elements.min.js --config webpack.config.prod.js",
"lint": "eslint src demo",
"flow": "flow",
"build": "yarn run lint && yarn run flow && yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
"clean": "rimraf lib dist es",
"prettier": "prettier --single-quote --trailing-comma es5 --bracket-spacing false --parser flow src/**/*.js demo/**/*.js --write",
"prettier-list-different": "prettier --single-quote --trailing-comma es5 --bracket-spacing false --parser flow src/**/*.js demo/**/*.js --list-different",
"prepublish": "yarn run clean && yarn run build",
"demo": "webpack-dev-server --content-base dist"
},
"keywords": [],
"author": "Stripe (https://www.stripe.com)",
"license": "MIT",
"dependencies": {
"prop-types": "^15.5.10"
},
"repository": {
"type": "git",
"url": "https://github.com/stripe/react-stripe-elements.git"
},
"files": [
"dist",
"lib",
"src",
"es"
],
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-jest": "^21.0.2",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"cross-env": "^5.0.5",
"enzyme": "^2.9.1",
"eslint": "^4.6.1",
"eslint-config-prettier": "^2.4.0",
"eslint-config-stripe": "^1.0.13",
"eslint-plugin-flowtype": "^2.35.1",
"eslint-plugin-jest": "^21.1.0",
"flow-bin": "^0.54.1",
"html-webpack-plugin": "^2.30.1",
"jest": "^21.1.0",
"prettier": "^1.6.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"rimraf": "^2.6.2",
"webpack": "^3.5.6",
"webpack-dev-server": "^2.8.1"
},
"peerDependencies": {
"react": "^15.5.4 || ^16.0.0-0",
"react-dom": "^15.5.4 || ^16.0.0-0"
}
}