forked from DalavanCloud/paypal-smart-payment-buttons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.92 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
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@paypal/smart-payment-buttons",
"version": "5.0.155",
"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"
},
"files": [
"dist",
"src",
"babel.config.js",
"index.js",
"globals.js",
"test/globals.js",
"webpack.config.js"
],
"engines": {
"node": ">=16",
"npm": ">=8"
},
"scripts": {
"all-ci": "npm run lint && npm run typecheck && npm run test",
"babel": "babel webpack.config.js globals.js --out-dir .",
"build": "npm run webpack",
"build-commit": "npm run build && git add dist && (git commit -m 'Dist' || echo 'Nothing to commit') && git push",
"cdnify": "grabthar-cdnify --cdn=https://www.paypalobjects.com",
"clean": "rimraf dist coverage",
"coverage": "vitest run --coverage",
"debug": "cross-env NODE_ENV=debug",
"deploy": "npm run cdnify",
"flow": "flow",
"flow-typed": "rm -rf ./flow-typed && flow-typed install --ignoreDeps peer && flow-typed install jest@24 mocha@4 && flow-typed install [email protected] && sed -i -e 's/http$IncomingMessage,/http$IncomingMessage<>,/g' ./flow-typed/npm/express_v4.16.x.js",
"karma": "cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start",
"lint": "eslint --ext .js --ext .jsx src/ test/ *.js",
"postactivate": "npm run cdnify -- --commitonly",
"postpublish": "if [ \"$DRY_RUN\" != 'true' ]; then git clean -f && git checkout .; fi;",
"postrelease": "npm run cdnify -- --commitonly",
"prepublishOnly": "npm run babel",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"release": "grabthar-release",
"release:cli": "rm -rf node_modules && npm i && npm run all-ci && npm run build-commit && grabthar-release",
"release:dry-run": "DRY_RUN=true grabthar-release",
"setup": "npm install && npm run flow-typed",
"start": "npm run webpack -- --progress --watch",
"test": "npm run coverage && npm run karma",
"typecheck": "npm run flow-typed && npm run flow -- check",
"vitest": "vitest",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs $(npm bin)/webpack",
"prepare": "husky install"
},
"peerDependencies": {
"express": "^4.16.3"
},
"alias": {},
"dependencies": {
"@krakenjs/beaver-logger": "^5.5.0",
"@krakenjs/belter": "^2.1.0",
"@krakenjs/cross-domain-utils": "^3.0.0",
"@krakenjs/grabthar": "^6.2.0",
"@krakenjs/jsx-pragmatic": "^3.0.0",
"@krakenjs/post-robot": "^11.0.0",
"@krakenjs/zalgo-promise": "^2.0.0",
"@paypal/checkout-components": "^5.0.256",
"@paypal/common-components": "^1.0.35",
"@paypal/installments": "^1.0.0",
"@paypal/sdk-constants": "^1.0.128",
"@paypal/sdk-logos": "^2.1.0",
"@paypal/sdk-release": "^5.0.138",
"card-validator": "^8.1.1",
"get-browser-fingerprint": "^1.1.0",
"module-alias": "^2.2.2",
"preact": "^10",
"preact-render-to-string": "^5.1.4",
"strict-merge": "^1.0.1",
"typed-graphqlify": "^2.2.3"
},
"devDependencies": {
"@bunchtogether/vite-plugin-flow": "^1.0.2",
"@krakenjs/grabthar-release": "^3.0.0",
"@krakenjs/grumbler-scripts": "^8.0.4",
"@krakenjs/sync-browser-mocks": "^3.0.0",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/ui": "^0.25.3",
"babel-core": "^7.0.0-bridge.0",
"cross-env": "^7.0.3",
"express": "^4.16.3",
"flow-bin": "0.155.0",
"flow-typed": "^3.8.0",
"happy-dom": "^9.0.0",
"husky": "^8.0.2",
"jsdom": "^22.0.0",
"lint-staged": "^13.0.4",
"prettier": "^2.8.0",
"vite": "^3.2.4",
"vitest": "^0.32.0"
},
"lint-staged": {
"vite.config.js": "prettier --write",
"**/{src,tests}/**/*.test.{js,jsx,json}": "prettier --write"
},
"license": "Apache-2.0"
}