-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
113 lines (113 loc) · 3.17 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
{
"name": "@paypal/sdk-logos",
"version": "2.2.7",
"description": "JSX/SVG logos for PayPal.",
"main": "index.js",
"scripts": {
"setup": "npm install && npm run flow-typed",
"lint": "eslint src/ test/ *.js --ext .js,.jsx",
"flow-typed": "rm -rf ./flow-typed && flow-typed install && flow-typed install mocha@4",
"flow": "flow",
"karma": "cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start",
"babel": "babel src/ --out-dir dist/module",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check .",
"test": "npm run format:check && npm run lint && npm run flow-typed && npm run flow && npm run karma",
"build": "npm run test && npm run babel && npm run webpack",
"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",
"clean": "rimraf dist coverage",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"debug": "cross-env NODE_ENV=debug",
"prepare": "husky install",
"build-logos": "babel-node --config-file './scripts/babel.config.json' --ignore ./fake --plugins=transform-es2015-modules-commonjs ./scripts/buildLogos.js"
},
"standard-version": {
"scripts": {
"postbump": "npm run build-logos -- --commit"
},
"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
}
]
},
"files": [
"dist/",
"src/"
],
"browserslist": [
"IE >= 11",
"chrome >= 27",
"firefox >= 30",
"safari >= 7",
"opera >= 23"
],
"repository": {
"type": "git",
"url": "git://github.com/paypal/paypal-sdk-logos.git"
},
"keywords": [
"template"
],
"license": "Apache-2.0",
"readmeFilename": "README.md",
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@krakenjs/grumbler-scripts": "^8.0.4",
"cross-env": "^7.0.3",
"flow-bin": "0.155.0",
"flow-typed": "^3.8.0",
"husky": "^8.0.1",
"jest": "^29.3.0",
"lint-staged": "^13.0.3",
"mocha": "9.2.0",
"prettier": "2.7.1",
"standard-version": "^9.5.0",
"zx": "^4.3.0"
},
"dependencies": {
"@paypal/sdk-constants": "^1.0.128",
"@krakenjs/belter": "^2.0.0",
"@krakenjs/jsx-pragmatic": "^3.0.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}