-
Notifications
You must be signed in to change notification settings - Fork 167
/
package.json
61 lines (61 loc) · 2.23 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
{
"name": "@paypal/smart-payment-buttons",
"version": "2.0.39",
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"description": "Serverside rendered ButtonJS",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.paypal.com/Checkout/smart-buttons"
},
"jest": {
"coverageDirectory": "./server-coverage/"
},
"scripts": {
"start": "babel-node ./server/server",
"setup": "npm install && npm run flow-typed",
"lint": "eslint src/ server/ test/ *.js",
"flow-typed": "rm -rf ./flow-typed && flow-typed install --ignoreDeps peer && flow-typed install jest@22 mocha@3",
"flow": "flow",
"karma": "cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start",
"babel": "babel server --exclude=node_modules --out-dir server",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"test": "npm run lint && npm run flow-typed && npm run flow && npm run karma && npm run jest",
"build": "npm run test && npm run webpack",
"release": "./publish.sh",
"release:patch": "./publish.sh patch",
"release:minor": "./publish.sh minor",
"release:major": "./publish.sh major",
"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 --env=node --no-cache",
"cover": "echo no-cover",
"prepublish": "in-publish && npm run babel || not-in-publish",
"postpublish": "git checkout server"
},
"peerDependencies": {
"express": "^4.16.3"
},
"dependencies": {
"@paypal/sdk-client": "^4.0.27",
"@paypal/sdk-constants": "^1.0.11",
"belter": "^1.0.19",
"cross-domain-utils": "^2.0.16",
"grabthar": "^3",
"jsx-pragmatic": "^1.0.7",
"webpack-mem-compile": "^1.0.2",
"zalgo-promise": "^1.0.28"
},
"devDependencies": {
"babel-core": "^7.0.0-bridge.0",
"express": "^4.16.3",
"flow-bin": "^0.70.0",
"grumbler-scripts": "^3.0.18",
"sync-browser-mocks": "^1.0.44"
},
"license": "PayPal",
"author": "[email protected]"
}