-
Notifications
You must be signed in to change notification settings - Fork 407
/
package.json
91 lines (91 loc) · 2.5 KB
/
package.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@line/bot-sdk",
"version": "__LINE_BOT_SDK_NODEJS_VERSION__",
"description": "Node.js SDK for LINE Messaging API",
"type": "module",
"engines": {
"node": ">=18"
},
"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": {
"pretest": "npm run format && npm run build",
"test": "vitest run",
"covtest": "vitest run --coverage",
"prettier": "prettier \"{lib,test}/**/*.ts\"",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- -l",
"clean": "rm -rf dist/*",
"copy-rollup": "node ./scripts/workaround-for-rollup.mjs",
"prebuild": "npm run format:check && npm run clean && npm run copy-rollup",
"build": "tsc -p . && tsc -p ./tsconfig.cjs.json && echo \"{\\\"type\\\": \\\"commonjs\\\"}\" > dist/cjs/package.json",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:deploy": "./scripts/deploy-docs.sh",
"apidocs": "typedoc --excludePrivate --plugin typedoc-plugin-markdown --out docs/apidocs lib/index.ts",
"release": "npm run build && npm publish --access public"
},
"repository": {
"type": "git",
"url": "git@github.com:line/line-bot-sdk-nodejs.git"
},
"keywords": [
"node",
"line",
"sdk"
],
"dependencies": {
"@types/node": "^22.0.0"
},
"optionalDependencies": {
"axios": "^1.7.4"
},
"devDependencies": {
"@types/express": "5.0.0",
"@types/finalhandler": "1.2.3",
"@types/mocha": "10.0.10",
"@vitest/coverage-v8": "^2.0.0",
"express": "4.21.1",
"finalhandler": "1.3.1",
"husky": "9.1.7",
"msw": "2.6.6",
"prettier": "3.3.3",
"ts-node": "10.9.2",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.6",
"typescript": "^5.5.4",
"vitepress": "^1.0.1",
"vitest": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:check",
"pre-push": "npm run format:check && npm run build && npm run test"
}
},
"license": "Apache-2.0"
}