@notifica/node 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@notifica/node",
3
+ "version": "0.1.0",
4
+ "description": "SDK oficial do Notifica para Node.js — infraestrutura de notificações para o Brasil",
5
+ "author": "Notifica <dev@usenotifica.com.br>",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
21
+ }
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "README.md"
26
+ ],
27
+ "engines": {
28
+ "node": ">=18"
29
+ },
30
+ "scripts": {
31
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean",
32
+ "typecheck": "tsc --noEmit",
33
+ "test": "node --experimental-strip-types --no-warnings --test test/client.test.ts test/resources/notifications.test.ts test/resources/templates.test.ts test/resources/workflows.test.ts test/resources/subscribers.test.ts test/resources/channels.test.ts test/resources/domains.test.ts test/resources/webhooks.test.ts test/resources/api-keys.test.ts test/resources/analytics.test.ts test/resources/sms.test.ts test/resources/billing.test.ts test/resources/inbox-embed.test.ts test/resources/inbox.test.ts",
34
+ "prepublishOnly": "npm run build"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^20.19.31",
38
+ "tsup": "^8.0.0",
39
+ "typescript": "~5.7.0"
40
+ },
41
+ "keywords": [
42
+ "notifica",
43
+ "notifications",
44
+ "whatsapp",
45
+ "sms",
46
+ "email",
47
+ "push",
48
+ "brazil",
49
+ "brasil",
50
+ "sdk"
51
+ ],
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "https://github.com/notifica-tech/notifica-node.git"
55
+ },
56
+ "homepage": "https://usenotifica.com.br",
57
+ "bugs": {
58
+ "url": "https://github.com/notifica-tech/notifica-node/issues"
59
+ }
60
+ }