UNPKG

2.95 kBJSONView Raw
1{
2 "name": "react-stripe-elements",
3 "version": "6.1.2",
4 "description": "React components for Stripe.js and Stripe Elements",
5 "main": "./lib/index.js",
6 "module": "es/index.js",
7 "jsnext:main": "es/index.js",
8 "scripts": {
9 "test": "node_modules/.bin/jest",
10 "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
11 "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
12 "build:umd": "cross-env BABEL_ENV=commonjs webpack src/index.js -o dist/react-stripe-elements.js --config webpack.config.prod.js --env.noMinimize",
13 "build:umd:min": "cross-env BABEL_ENV=commonjs webpack src/index.js -o dist/react-stripe-elements.min.js --config webpack.config.prod.js",
14 "lint": "eslint src demo",
15 "flow": "flow",
16 "build": "yarn run lint && yarn run flow && yarn run build:commonjs && yarn run build:es && yarn run build:umd && yarn run build:umd:min",
17 "clean": "rimraf lib dist es",
18 "prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
19 "prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
20 "prepublish": "yarn run clean && yarn run build",
21 "demo": "webpack-dev-server --content-base dist",
22 "doctoc": "doctoc README.md"
23 },
24 "keywords": [],
25 "author": "Stripe (https://www.stripe.com)",
26 "license": "MIT",
27 "dependencies": {
28 "prop-types": "15.7.2"
29 },
30 "repository": {
31 "type": "git",
32 "url": "https://github.com/stripe/react-stripe-elements.git"
33 },
34 "files": [
35 "dist",
36 "lib",
37 "src",
38 "es"
39 ],
40 "jest": {
41 "setupTestFrameworkScriptFile": "<rootDir>/test/setupJest.js"
42 },
43 "devDependencies": {
44 "babel-cli": "^6.26.0",
45 "babel-core": "^6.26.0",
46 "babel-eslint": "^10.0.2",
47 "babel-jest": "^23.6.0",
48 "babel-loader": "^7.1.2",
49 "babel-plugin-transform-class-properties": "^6.24.1",
50 "babel-plugin-transform-es2015-classes": "^6.24.1",
51 "babel-plugin-transform-inline-environment-variables": "^0.4.3",
52 "babel-plugin-transform-object-rest-spread": "^6.26.0",
53 "babel-preset-env": "^1.6.1",
54 "babel-preset-react": "^6.24.1",
55 "cross-env": "^5.0.5",
56 "doctoc": "^1.3.0",
57 "enzyme": "3.10",
58 "enzyme-adapter-react-16": "^1.14.0",
59 "eslint": "4",
60 "eslint-config-prettier": "2.9.0",
61 "eslint-config-stripe": "^1.0.13",
62 "eslint-plugin-flowtype": "^2.35.1",
63 "eslint-plugin-import": "^2.7.0",
64 "eslint-plugin-jest": "21.17.0",
65 "eslint-plugin-jsx-a11y": "^6.0.2",
66 "eslint-plugin-react": "^7.4.0",
67 "flow-bin": "^0.90.0",
68 "html-webpack-plugin": "^3.2.0",
69 "jest": "23.6.0",
70 "prettier": "1.15.3",
71 "react": "16.9",
72 "react-dom": "16.9",
73 "react-test-renderer": "16.9",
74 "rimraf": "^2.6.2",
75 "webpack": "^4.41.2",
76 "webpack-cli": "^3.2.1",
77 "webpack-dev-server": "^3.1.14"
78 },
79 "peerDependencies": {
80 "react": "^15.5.4 || ^16.0.0-0",
81 "react-dom": "^15.5.4 || ^16.0.0-0"
82 }
83}