-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.03 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.03 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
{
"name": "server-node-sdk",
"version": "1.2.6",
"description": "The official FastPix API SDK for Node.js, written in TypeScript",
"types": "dist/index.d.ts",
"main": "dist/index.mjs",
"type": "commonjs",
"files": [
"dist/*",
"types/*"
],
"exports": {
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.cjs --platform=node --format=cjs",
"build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --platform=node --format=esm",
"build:types": "tsc",
"build": "npm run format && npm run build:esm && npm run build:cjs && npm run build:types"
},
"author": "FastPix, Inc",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.10.1",
"esbuild": "^0.24.0",
"prettier": "^3.4.2",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}