1 | {
|
2 | "name": "@line/bot-sdk",
|
3 | "version": "7.7.0",
|
4 | "description": "Node.js SDK for LINE Messaging API",
|
5 | "engines": {
|
6 | "node": ">=18"
|
7 | },
|
8 | "main": "dist/index.js",
|
9 | "types": "dist/index.d.ts",
|
10 | "files": [
|
11 | "dist",
|
12 | "lib"
|
13 | ],
|
14 | "scripts": {
|
15 | "pretest": "npm run format && npm run build",
|
16 | "test": "TEST_PORT=1234 TS_NODE_CACHE=0 nyc mocha",
|
17 | "prettier": "prettier --parser typescript --trailing-comma all --arrow-parens avoid \"{lib,test}/**/*.ts\"",
|
18 | "format": "npm run prettier -- --write",
|
19 | "format:check": "npm run prettier -- -l",
|
20 | "clean": "rm -rf dist/*",
|
21 | "prebuild": "npm run format:check && npm run clean",
|
22 | "build": "tsc",
|
23 | "docs": "vuepress dev docs",
|
24 | "docs:build": "vuepress build docs",
|
25 | "docs:deploy": "./scripts/deploy-docs.sh",
|
26 | "generate-changelog": "ts-node ./scripts/generate-changelog.ts",
|
27 | "release": "npm run build && npm publish --access public"
|
28 | },
|
29 | "repository": {
|
30 | "type": "git",
|
31 | "url": "git@github.com:line/line-bot-sdk-nodejs.git"
|
32 | },
|
33 | "keywords": [
|
34 | "node",
|
35 | "line",
|
36 | "sdk"
|
37 | ],
|
38 | "dependencies": {
|
39 | "@types/body-parser": "^1.19.2",
|
40 | "@types/node": "^18.0.0",
|
41 | "axios": "^1.0.0",
|
42 | "body-parser": "^1.20.0",
|
43 | "file-type": "^16.5.4",
|
44 | "form-data": "^4.0.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "@types/express": "4.17.17",
|
48 | "@types/finalhandler": "1.2.1",
|
49 | "@types/mocha": "10.0.1",
|
50 | "express": "4.18.2",
|
51 | "finalhandler": "1.2.0",
|
52 | "husky": "8.0.3",
|
53 | "mocha": "10.2.0",
|
54 | "nock": "13.3.3",
|
55 | "nyc": "15.1.0",
|
56 | "prettier": "3.0.3",
|
57 | "ts-node": "10.9.1",
|
58 | "typescript": "5.2.2",
|
59 | "vuepress": "1.9.10"
|
60 | },
|
61 | "husky": {
|
62 | "hooks": {
|
63 | "pre-commit": "npm run format:check",
|
64 | "pre-push": "npm run format:check && npm run build && npm run test"
|
65 | }
|
66 | },
|
67 | "nyc": {
|
68 | "require": [
|
69 | "ts-node/register"
|
70 | ],
|
71 | "extension": [
|
72 | ".ts"
|
73 | ],
|
74 | "reporter": [
|
75 | "lcov",
|
76 | "text"
|
77 | ],
|
78 | "sourceMap": true,
|
79 | "instrument": true
|
80 | },
|
81 | "mocha": {
|
82 | "require": "ts-node/register",
|
83 | "spec": "test/*.spec.ts"
|
84 | },
|
85 | "license": "Apache-2.0"
|
86 | }
|