-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.22 KB
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
{
"name": "plunk-node-sdk",
"version": "0.3.0",
"description": "Zero-dependency Node.js (>=18) SDK for the Plunk API.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8"
},
"packageManager": "pnpm@9.15.0",
"scripts": {
"clean": "node -e \"import('node:fs').then(f=>f.rmSync('dist',{recursive:true,force:true})).then(()=>import('node:fs').then(f=>f.rmSync('dist-test',{recursive:true,force:true})))\"",
"build": "tsc -p tsconfig.json",
"build:tests": "tsc -p tsconfig.test.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "pnpm build && pnpm build:tests && node scripts/run-node-tests.mjs",
"test:only": "node scripts/run-node-tests.mjs",
"lint": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
"prepublishOnly": "pnpm lint && pnpm test",
"pack:dry": "pnpm pack --dry-run",
"pack:preview": "pnpm pack && node -e \"import('node:child_process').then(({execSync})=>console.log(execSync('tar -tzf plunk-node-sdk-*.tgz').toString()))\" && node -e \"import('node:fs').then(f=>f.readdirSync('.').filter(n=>n.endsWith('.tgz')).forEach(f=>f && import('node:fs').then(g=>g.unlinkSync(f))))\"",
"release:patch": "pnpm test && npm version patch && git push --follow-tags",
"release:minor": "pnpm test && npm version minor && git push --follow-tags",
"release:major": "pnpm test && npm version major && git push --follow-tags",
"publish:dry": "pnpm publish --dry-run --access public --no-git-checks"
},
"keywords": [
"plunk",
"email",
"transactional",
"sdk",
"useplunk",
"marketing",
"esm"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/magictm/plunk-node-sdk.git"
},
"homepage": "https://magictm.com",
"bugs": {
"url": "https://github.com/magictm/plunk-node-sdk/issues"
},
"devDependencies": {
"@types/node": "^24.0.0",
"typescript": "^5.6.0"
}
}