@line/bot-sdk
Version:
Node.js SDK for LINE Messaging API
86 lines (85 loc) • 2.54 kB
JSON
{
"name": "@line/bot-sdk",
"version": "11.0.2",
"description": "Node.js SDK for LINE Messaging API",
"type": "module",
"engines": {
"node": ">=22"
},
"main": "./dist/cjs/index.js",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist",
"lib",
"!lib/**/tests",
"!dist/*/tests",
"!dist/cjs/*/tests"
],
"scripts": {
"test": "npm run format && npm run typecheck && npm run build && vitest run",
"typecheck": "tsc -p tsconfig.json",
"covtest": "vitest run --coverage",
"prettier": "prettier \"{lib,test,scripts,examples}/**/*.{ts,js,cjs,mjs}\"",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- -l",
"clean": "rm -rf dist/*",
"build": "npm run format:check && npm run clean && tsc -p ./tsconfig.esm.json && tsc -p ./tsconfig.cjs.json && echo \"{\\\"type\\\": \\\"commonjs\\\"}\" > dist/cjs/package.json",
"check:publint": "publint",
"pack:check": "npm pack",
"check:attw": "attw $(npm pack)",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"apidocs": "typedoc --tsconfig ./tsconfig.esm.json --excludePrivate --plugin typedoc-plugin-markdown --out docs/apidocs lib/index.ts",
"release": "npm run build && npm publish --provenance --access public"
},
"repository": {
"type": "git",
"url": "git@github.com:line/line-bot-sdk-nodejs.git"
},
"keywords": [
"node",
"line",
"sdk"
],
"homepage": "https://github.com/line/line-bot-sdk-nodejs",
"bugs": "https://github.com/line/line-bot-sdk-nodejs/issues",
"dependencies": {
"@types/node": "^24.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.3",
"@types/express": "5.0.6",
"@vitest/coverage-v8": "^4.1.0",
"express": "5.2.1",
"msw": "2.14.6",
"oxc-minify": "^0.135.0",
"prettier": "3.8.4",
"publint": "0.3.21",
"typedoc": "^0.28.14",
"typedoc-plugin-markdown": "^4.3.0",
"typescript": "^6.0.0",
"vitepress": "^2.0.0-alpha.17",
"vitest": "^4.1.0"
},
"overrides": {
"vite": "^8.0.0"
},
"license": "Apache-2.0"
}