forked from DalavanCloud/paypal-smart-payment-buttons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.52 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
{
"name": "@paypal/smart-payment-buttons",
"version": "5.0.47",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"description": "Serverside rendered ButtonJS",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/paypal/paypal-smart-payment-buttons"
},
"jest": {
"coverageDirectory": "./server-coverage/"
},
"files": [
"dist",
"server",
"src",
"babel.config.js",
"index.js",
"globals.js",
"webpack.config.js"
],
"scripts": {
"start": "babel-node ./server/devServer",
"setup": "npm install && npm run flow-typed",
"lint": "eslint --ext .js --ext .jsx src/ server/ test/ *.js",
"flow-typed": "rm -rf ./flow-typed && flow-typed install --ignoreDeps peer && flow-typed install jest@22 mocha@4 && flow-typed install [email protected] && sed -i -e 's/http$IncomingMessage,/http$IncomingMessage<>,/g' ./flow-typed/npm/express_v4.16.x.js",
"flow": "flow",
"karma": "cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start",
"babel": "babel server --ignore=node_modules --out-dir server && babel webpack.config.js globals.js --out-dir .",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"test": "if [ ! $SKIP_TEST ]; then npm run lint && npm run flow-typed && npm run flow check && npm run karma && npm run jest; fi;",
"build": "npm run test && npm run webpack",
"build-commit": "npm run build && git add dist && (git commit -m 'Dist' || echo 'Nothing to commit') && git push",
"release": "npm run build-commit && grabthar-release",
"release:pre": "npm run build-commit && grabthar-release prerelease",
"deploy": "npm run cdnify",
"activate": "CDN='https://www.paypalobjects.com' grabthar-activate",
"clean": "rimraf dist coverage",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"debug": "cross-env NODE_ENV=debug",
"jest": "jest test/server --collectCoverage --collectCoverageFrom='server/' --env=node --no-cache --runInBand",
"cover": "echo no-cover",
"prepublishOnly": "npm run babel",
"postpublish": "git clean -f && git checkout .",
"cdnify": "grabthar-cdnify --cdn=https://www.paypalobjects.com",
"postinstall": "npm_config_registry=https://npm.paypal.com npm install @paypalcorp/web --no-save --proxy='null' --https-proxy='null' || echo 'Unable to install cdnx cli tools'"
},
"peerDependencies": {
"express": "^4.16.3"
},
"alias": {},
"dependencies": {
"@paypal/checkout-components": "^5.0.167",
"@paypal/common-components": "^1.0.16",
"@paypal/installments": "^1.0.0",
"@paypal/sdk-client": "^4.0.156",
"@paypal/sdk-constants": "^1.0.107",
"@paypal/sdk-logos": "^1.0.26",
"@paypal/sdk-release": "^5.0.138",
"beaver-logger": "^4.0.12",
"belter": "^1.0.19",
"cross-domain-utils": "^2.0.16",
"get-browser-fingerprint": "^1.1.0",
"grabthar": "^4",
"jsx-pragmatic": "^2",
"module-alias": "^2.2.2",
"preact": "^10",
"preact-render-to-string": "^5.1.4",
"strict-merge": "^1.0.1",
"typed-graphqlify": "^2.2.3",
"zalgo-promise": "^1.0.28"
},
"devDependencies": {
"babel-core": "^7.0.0-bridge.0",
"express": "^4.16.3",
"flow-bin": "0.155.0",
"grabthar-release": "^1.0.8",
"grumbler-scripts": "^3.0.83",
"post-robot": "^10.0.13",
"sync-browser-mocks": "^2.0.8",
"webpack-mem-compile": "^1.0.2"
},
"license": "Apache-2.0"
}