-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.31 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.31 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
{
"name": "printsocket",
"version": "0.1.0",
"description": "Node.js client for the PrintSocket cloud print API",
"keywords": [
"printsocket",
"print",
"printing",
"cloud print",
"printer",
"escpos",
"zpl",
"api",
"sdk"
],
"license": "MIT",
"author": "Mark Sanborn",
"homepage": "https://www.printsocket.com/docs",
"bugs": "https://github.com/print-socket/printsocket-node/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/print-socket/printsocket-node.git"
},
"type": "module",
"engines": {
"node": ">=18.17"
},
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "npm run build && node --test test/*.test.js",
"prepublishOnly": "npm test"
},
"devDependencies": {
"@types/node": "^20.14.0",
"typescript": "^5.5.4"
}
}