forked from paypal/paypal-checkout-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.31 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
108
109
110
111
112
113
114
115
116
117
{
"name": "@paypal/checkout-components",
"version": "5.0.255",
"description": "PayPal Checkout components, for integrating checkout products.",
"main": "index.js",
"scripts": {
"all-ci": "npm run check-node-version && npm run lint && npm run typecheck && npm run test",
"build": "npm run webpack",
"check-node-version": "node scripts/check-node-version.js",
"check-size": "npm run webpack-size && bundlemon && npm run delete-size",
"clean": "rimraf dist coverage",
"debug": "cross-env NODE_ENV=debug",
"delete-size": "rm dist/size.* dist/report.html",
"demo": "serve ./demo -l 1337",
"dev": "npm run check-node-version && babel-node $(npm bin)/webpack-dev-server --config webpack.config.dev.js --port 9001 --host localhost.paypal.com --open demo/dev/index.htm --https --hot=false --static './'",
"eslint-find-rules": "eslint-find-rules --current .eslintrc.js --unused --plugin",
"flow": "flow",
"flow-typed": "rm -rf flow-typed && flow-typed install && rm flow-typed/npm/puppeteer_*",
"jest-e2e": "rm -f ./test/e2e/screenshots/*.png && jest test/e2e",
"jest-screenshot": "jest test/screenshot --env=node --no-cache",
"jest-ssr": "jest test/ssr --env=node --no-cache --collectCoverage --collectCoverageFrom='src/' --coverageDirectory='coverage/jest'",
"karma": "cross-env NODE_ENV=test babel-node $(npm bin)/karma start",
"lint": "eslint --ext .js --ext .jsx src/ test/ *.js",
"postversion": "./scripts/postversion.sh",
"preversion": "./scripts/preversion.sh",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"release": "./scripts/publish.sh",
"start": "npm run webpack -- --progress --watch",
"test": "npm run test:unit && npm run jest-ssr && npm run karma && npm run jest-screenshot",
"test:unit": "vitest",
"percy-screenshot": "babel-node ./test/percy/server/createButtonConfigs.js && percy exec -- playwright test --config=./test/percy/playwright.config.js --reporter=dot --pass-with-no-tests",
"typecheck": "npm run flow-typed && npm run flow",
"version": "./scripts/version.sh",
"webpack": "babel-node $(npm bin)/webpack",
"webpack-size": "npm run webpack -- --config webpack.config.size",
"prepare": "husky install",
"screenshot-server": "babel-node ./test/percy/server/index.js"
},
"files": [
"src/",
"dist/",
"__sdk__.js",
"globals.js"
],
"browserslist": [
"IE >= 9",
"chrome >= 27",
"firefox >= 30",
"safari >= 5",
"opera >= 23"
],
"repository": {
"type": "git",
"url": "https://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": {
"@bunchtogether/vite-plugin-flow": "^1.0.2",
"@krakenjs/grumbler-scripts": "^8.0.7",
"@krakenjs/sync-browser-mocks": "^3.0.0",
"@percy/cli": "^1.16.0",
"@percy/playwright": "^1.0.4",
"@playwright/test": "^1.28.1",
"babel-core": "^7.0.0-bridge.0",
"bundlemon": "^1.1.0",
"conventional-changelog-cli": "^2.0.34",
"cross-env": "^7.0.3",
"flow-bin": "0.155.0",
"flow-typed": "^3.8.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"imagemagick": "^0.1.3",
"imgur": "^0.3.1",
"jest": "^29.3.1",
"karma": "^6.0.0",
"karma-coverage": "^2.0.3",
"lint-staged": "^12.3.4",
"memory-fs": "^0.5.0",
"mocha": "^4.1.0",
"mocketeer": "^0.3.1",
"pixelmatch": "^5.2.1",
"playwright": "^1.29.1",
"pngjs": "^6.0.0",
"prettier": "^2.5.1",
"prettier-plugin-sh": "^0.10.0",
"puppeteer": "^1.20.0",
"serve": "^13.0.0",
"vite": "^3.2.4",
"vitest": "^0.25.3"
},
"dependencies": {
"@krakenjs/belter": "^2.0.0",
"@krakenjs/cross-domain-utils": "^3.0.0",
"@krakenjs/jsx-pragmatic": "^3",
"@krakenjs/post-robot": "^11.0.0",
"@krakenjs/zalgo-promise": "^2.0.0",
"@krakenjs/zoid": "^10.0.0",
"@paypal/common-components": "^1.0.35",
"@paypal/funding-components": "^1.0.31",
"@paypal/sdk-client": "^4.0.166",
"@paypal/sdk-constants": "^1.0.128",
"@paypal/sdk-logos": "^2.2.3"
},
"lint-staged": {
"*.sh": "prettier --write"
}
}