-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
97 lines (97 loc) · 2.48 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
{
"name": "@lemonsqueezy/lemonsqueezy.js",
"description": "The official Lemon Squeezy JavaScript SDK.",
"version": "4.0.0",
"author": {
"name": "Lemon Squeezy",
"email": "[email protected]",
"url": "https://lemonsqueezy.com"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"homepage": "https://lemonsqueezy.com",
"repository": {
"type": "git",
"url": "https://github.com/lmsqueezy/lemonsqueezy.js.git"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/lmsqueezy/lemonsqueezy.js/issues"
},
"keywords": [
"api",
"sdk",
"lemonsqueezy",
"javascript",
"typescript"
],
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "bun run --watch examples/index.ts",
"build": "tsup",
"coverage": "bun test --coverage",
"export-size": "export-size .",
"format": "prettier --write .",
"lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"test": "bun test",
"typecheck": "tsc --noEmit",
"version": "changeset version",
"version:dev": "changeset version --snapshop --no-git-tag --tag dev",
"release": "pnpm build && changeset publish",
"release:dev": "pnpm build && changeset publish --snapshot --no-git-tag --tag dev"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"eslint": "^8.56.0",
"export-size": "^0.7.0",
"lint-staged": "^15.2.2",
"simple-git-hooks": "^2.11.1",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint",
"prettier --list-different"
],
"!(*.css|*.js|*.jsx|*.ts|*.tsx)": [
"prettier --list-different"
]
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged",
"commit-msg": "bun run commitlint --edit $1"
}
}