-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
116 lines (116 loc) · 3.21 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
{
"name": "@paypal/applepay-components",
"version": "1.8.0",
"description": "A PayPal Apple Pay Library to provide Apple Pay Integration",
"main": "index.js",
"scripts": {
"flow-typed": "flow-typed install",
"flow": "flow",
"flow:build": "flow gen-flow-files ./src/index.js --out-dir ./dist/module",
"format": "npx prettier --write .",
"format:check": "npx prettier --check .",
"test:unit": "jest src/ --collectCoverage --collectCoverageFrom='src/' --testPathIgnorePatterns=/fixtures/ --no-cache --runInBand",
"lint": "eslint --fix src/*.js",
"test": "npm run format:check && npm run lint && npm run flow && npm run test:unit",
"karma": "cross-env NODE_ENV=test babel-node $(npm bin)/karma start",
"babel": "babel src/ --out-dir dist/module",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"build": "npm run test && npm run babel && npm run webpack",
"prepare": "husky install",
"prerelease": "npm run clean && npm run build && git add dist && git commit -m 'ci: check in dist folder' || echo 'Nothing to distribute'",
"release": "standard-version",
"postrelease": "git push && git push --follow-tags && npm publish"
},
"jest": {
"coverageDirectory": "./coverage/",
"restoreMocks": true,
"testEnvironment": "jsdom",
"transformIgnorePatterns": [
"node_modules/(?!(@paypal|@krakenjs|get-browser-fingerprint))"
],
"globals": {
"__DEBUG__": true
}
},
"standard-version": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": false
},
{
"type": "docs",
"hidden": false
},
{
"type": "style",
"hidden": false
},
{
"type": "refactor",
"hidden": false
},
{
"type": "perf",
"hidden": false
},
{
"type": "test",
"hidden": false
},
{
"type": "ci",
"hidden": true
}
]
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"files": [
"src",
"__sdk__.js",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/paypal/paypal-applepay-components.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/paypal/paypal-applepay-components/issues"
},
"homepage": "https://github.com/paypal/paypal-applepay-components#readme",
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@krakenjs/grumbler-scripts": "^8.1.1",
"atob": "^2.1.2",
"babel-jest": "^29.0.3",
"btoa": "^1.2.1",
"cross-env": "^7.0.3",
"flow-bin": "0.155.0",
"flow-typed": "^4.0.0",
"husky": "^7.0.4",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.2.0",
"jest-fetch-mock": "^3.0.3",
"mocha": "^4",
"prettier": "^2.8.8",
"standard-version": "^9.3.2"
},
"dependencies": {
"@paypal/sdk-client": "^4.0.166"
}
}