-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 3.25 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@nuecms/wx-oa-sdk",
"version": "0.1.3",
"description": "A flexible and lightweight WeChat Official Accounts SDK for Node.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"./dist/index.d.ts": {
"import": "./dist/index.d.ts",
"require": "./dist/index.d.ts"
},
"./src": {
"import": "./src/index.ts"
},
"./src/index": {
"import": "./src/index.ts"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vite build",
"dev": "vite",
"lint": "eslint . --ext .ts",
"test": "vitest --ui --api.port 3000",
"test:coverage": "vitest --coverage",
"format": "prettier --write .",
"prepare": "husky install",
"clean": "rm -rf dist",
"test:wx": "tsx watch --env-file=.env tests/server/wechat.ts",
"release": "release-it",
"prepublishOnly": "npm run build",
"npm:pub": "pnpm publish --access public"
},
"files": [
"dist",
"src"
],
"keywords": [
"wechat",
"official-accounts",
"oa",
"sdk",
"typescript",
"node",
"cache",
"transformers",
"redis"
],
"author": "Terry Cai <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nuecms/wx-oa-sdk.git"
},
"bugs": {
"url": "https://github.com/nuecms/wx-oa-sdk/issues"
},
"homepage": "https://github.com/nuecms/wx-oa-sdk#readme",
"devDependencies": {
"@types/node": "^22.10.1",
"@vitest/ui": "2.1.8",
"dotenv": "^16.4.7",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"fast-xml-parser": "^4.5.0",
"husky": "^9.1.7",
"ioredis": "^5.4.1",
"lint-staged": "^15.2.10",
"prettier": "^3.4.2",
"release-it": "^17.10.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite-plugin-dts": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"dependencies": {
"@nuecms/sdk-builder": "latest"
},
"engines": {
"node": ">=18.0.0",
"browsers": "last 2 versions, > 1%, not dead"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": [
"import",
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
},
"prettier": {
"singleQuote": true,
"semi": true,
"trailingComma": "es5",
"printWidth": 80
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"release-it": {
"git": {
"tagName": "v${version}",
"commitMessage": "chore(release): v${version}",
"requireCleanWorkingDir": true,
"requireUpstream": false
},
"npm": {
"publish": false
}
}
}