-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
73 lines (73 loc) · 2.46 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
{
"name": "@paddle/paddle-node-sdk",
"version": "2.2.2",
"description": "A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.",
"main": "dist/cjs/index.cjs.node.js",
"module": "dist/esm/index.esm.node.js",
"types": "dist/types/index.cjs.node.d.ts",
"engines": {
"node": ">=18"
},
"scripts": {
"test": "jest",
"prebuild": "node ./scripts/update-env-vars.js",
"build": "yarn clean && yarn build-esm && yarn build-cjs && yarn build-types",
"build-esm": "tsc -b tsconfig.esm.json && echo '{\"type\":\"module\"}' > ./dist/esm/package.json",
"build-cjs": "tsc -b tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build-types": "tsc -b tsconfig.types.json",
"prettier": "prettier --check ./src",
"prettier:fix": "prettier --check ./src --write",
"lint": "eslint --ext .ts,.tsx ./src",
"lint:fix": "eslint --ext .ts,.tsx ./src --fix",
"clean": "rm -rf ./dist",
"release:rc": "yarn version --prerelease --preid rc --no-git-tag-version --no-commit-hooks",
"publish:rc": "yarn publish --tag rc --access public",
"publish:latest": "yarn publish --access public"
},
"files": [
"dist"
],
"keywords": [
"Paddle",
"SDK"
],
"author": "paddle.com",
"license": "Apache-2.0",
"homepage": "https://developer.paddle.com/api-reference/overview",
"repository": {
"type": "git",
"url": "https://github.com/PaddleHQ/paddle-node-sdk.git"
},
"bugs": "https://github.com/PaddleHQ/paddle-node-sdk/issues",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.23.0",
"@types/jest": "^29.5.6",
"@types/lodash": "^4.14.202",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"babel-jest": "^29.7.0",
"dotenv": "^16.3.1",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"exports": {
"types": "./dist/types/index.cjs.node.d.ts",
"worker": {
"import": "./dist/esm/index.esm.edge.js",
"require": "./dist/cjs/index.cjs.edge.js"
},
"default": {
"import": "./dist/esm/index.esm.node.js",
"require": "./dist/cjs/index.cjs.node.js"
}
},
"dependencies": {}
}