forked from paypal/paypal-checkout-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.83 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
{
"name": "@paypal/checkout-components",
"version": "5.0.153",
"description": "PayPal Checkout components, for integrating checkout products.",
"main": "index.js",
"scripts": {
"dev": "babel-node $(npm bin)/webpack-dev-server --config webpack.config.dev.js --port 9001 --host localhost.paypal.com --open-page demo/dev/index.htm --https --hot=false --inline=false",
"lint": "eslint --ext .js --ext .jsx src/ test/ *.js",
"flow-typed": "rm -rf flow-typed && flow-typed install",
"flow": "flow",
"karma": "cross-env NODE_ENV=test babel-node $(npm bin)/karma start",
"test": "if [ ! $SKIP_TEST ]; then npm run lint && npm run flow-typed && npm run flow && npm run jest-ssr && npm run karma && npm run jest-screenshot && npm run check-size; fi;",
"webpack": "babel-node $(npm bin)/webpack --progress",
"webpack-size": "babel-node $(npm bin)/webpack --progress --config webpack.config.size && echo && echo Final bundle size: $( npm run -s get-size );",
"build": "npm run test && npm run webpack",
"release": "./scripts/publish.sh",
"release:patch": "./scripts/publish.sh patch",
"release:minor": "./scripts/publish.sh minor",
"release:major": "./scripts/publish.sh major",
"preversion": "./scripts/preversion.sh",
"version": "./scripts/version.sh",
"postversion": "./scripts/postversion.sh",
"clean": "rimraf dist coverage",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"debug": "cross-env NODE_ENV=debug",
"demo": "serve ./demo -l 1337",
"eslint-find-rules": "eslint-find-rules --current .eslintrc.js --unused --plugin",
"jest-screenshot": "jest test/screenshot --env=node --no-cache",
"jest-ssr": "jest test/ssr --env=node --no-cache",
"jest-e2e": "rm -f ./test/e2e/screenshots/*.png && jest test/e2e",
"get-size": "gzip -9 < dist/size.min.js | wc -c",
"check-size": "npm run webpack-size && if [ $(npm run -s get-size) -ge 70000 ]; then echo 'Bundle size greater than 65k'; exit 1; else npm run delete-size; fi;",
"delete-size": "rm dist/size.* dist/report.html"
},
"files": [
"src/",
"dist/",
"__sdk__.js",
"globals.js"
],
"browserslist": [
"IE >= 9",
"chrome >= 27",
"firefox >= 30",
"safari >= 5",
"opera >= 23"
],
"repository": {
"type": "git",
"url": "git://github.com/paypal/paypal-checkout-components.git"
},
"homepage": "https://developer.paypal.com/",
"keywords": [
"cross-domain",
"cross domain",
"components",
"component",
"krakenjs",
"kraken"
],
"license": "Apache-2.0",
"readmeFilename": "README.md",
"devDependencies": {
"babel-core": "^7.0.0-bridge.0",
"conventional-changelog-cli": "^2.0.34",
"flow-bin": "0.135.0",
"fs-extra": "^9.0.1",
"grumbler-scripts": "^3.0.70",
"imagemagick": "^0.1.3",
"imgur": "^0.3.1",
"karma": "^5.2.3",
"karma-coverage": "^2.0.3",
"memory-fs": "^0.5.0",
"mocha": "^4.1.0",
"mocketeer": "^0.3.1",
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"puppeteer": "^1.20.0",
"serve": "^11.3.2",
"sync-browser-mocks": "^2.0.8"
},
"dependencies": {
"@paypal/common-components": "^1.0.10",
"@paypal/funding-components": "^1.0.17",
"@paypal/sdk-client": "^4.0.148",
"@paypal/sdk-constants": "^1.0.57",
"@paypal/sdk-logos": "^1.0.26",
"belter": "^1.0.2",
"cross-domain-utils": "^2.0.1",
"jsx-pragmatic": "^2",
"post-robot": "^10.0.0",
"zalgo-promise": "^1.0.10",
"zoid": "^9.0.0"
}
}