generated from coulomb/repo-seed
Verify build output, types, and tests; document npm publish and consumer install paths in README; add publishConfig for scoped public publish.
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "@binect/js",
|
|
"version": "0.1.0",
|
|
"description": "JavaScript/TypeScript wrapper for the Binect API - Send PDF documents as physical mail",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "node --experimental-vm-modules node_modules/vitest/vitest.mjs run",
|
|
"test:watch": "node --experimental-vm-modules node_modules/vitest/vitest.mjs",
|
|
"test:e2e": "node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e2e.test.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"binect",
|
|
"mail",
|
|
"letter",
|
|
"post",
|
|
"pdf",
|
|
"api",
|
|
"deutsche-post"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|