forked from paypal/paypal-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 3.3 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
{
"name": "@paypal/paypal-js",
"version": "8.0.0",
"description": "Loading wrapper and TypeScript types for the PayPal JS SDK",
"main": "index.js",
"module": "dist/esm/paypal-js.js",
"types": "types/index.d.ts",
"scripts": {
"build": "rm -rf dist && rollup --config --bundleConfigAsCjs",
"check-node-version": "node scripts/check-node-version.js",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "husky install",
"prerelease": "npm run validate",
"release": "standard-version --commit-all",
"postrelease": "git push && git push --follow-tags && npm run build && npm publish",
"test": "vitest src",
"test:bundle": "vitest bundle-tests/**",
"test:e2e": "playwright test",
"test:e2e:debug": "PWDEBUG=1 playwright test --project=\"chromium\"",
"test:e2e:start": "node e2e-tests/http-server.js",
"typecheck": "tsc --noEmit",
"validate": "npm run check-node-version && npm run format:check && npm run typecheck && npm run build && npm run lint && npm test -- --watch=false --coverage.enabled --coverage.include=src && npm run test:bundle -- --watch=false",
"openapi": "npm run openapi-orders && npm run openapi-subscriptions",
"openapi-orders": "openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/checkout_orders_v2.json -o types/apis/openapi/checkout_orders_v2.d.ts",
"openapi-subscriptions": "openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/billing_subscriptions_v1.json -o types/apis/openapi/billing_subscriptions_v1.d.ts"
},
"files": [
"dist",
"types",
"!types/**/*.test.ts"
],
"keywords": [
"paypal",
"sdk",
"async",
"script",
"loader",
"types",
"typescript",
"typescript-definitions"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git://github.com/paypal/paypal-js.git"
},
"devDependencies": {
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@paypal/paypal-rest-api-specifications": "^1.0.0",
"@playwright/test": "^1.40.1",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "11.1.5",
"@types/node": "^20.10.5",
"@types/promise-polyfill": "6.0.6",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"@vitest/coverage-v8": "^1.1.0",
"eslint": "8.56.0",
"filesize": "10.1.0",
"husky": "8.0.3",
"jsdom": "^23.0.1",
"lint-staged": "15.2.0",
"openapi-typescript": "^6.7.3",
"prettier": "3.1.1",
"rollup": "4.9.1",
"semver": "7.5.4",
"standard-version": "9.5.0",
"tslib": "2.6.2",
"typescript": "5.3.3",
"vitest": "1.1.0"
},
"dependencies": {
"promise-polyfill": "^8.3.0"
},
"standard-version": {
"scripts": {
"precommit": "node scripts/readme-package-version.js"
}
}
}