-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
81 lines (81 loc) · 2.02 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
{
"name": "wiki-saikou",
"version": "3.4.0",
"description": "The library provides the out of box accessing to MediaWiki API in both browsers & Node.js, and the syntax is very similar to vanilla `new mw.Api()`. TypeScript definition included~",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": "./dist/index.umd.cjs",
"exports": {
".": {
"types": {
"import": "./dist/index.d.ts",
"require": "./dist/index.cjs"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"browser": "./dist/index.umd.cjs"
}
},
"files": [
"dist",
"lib"
],
"scripts": {
"test": "mocha test/**/*.spec.ts",
"clean": "rimraf dist lib",
"build": "npm run clean && vite build",
"prepublish": "npm run build"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/moegirlwiki/wiki-saikou.git"
},
"keywords": [
"mediawiki",
"wikipedia",
"mediawiki-api",
"mediawiki-bot",
"browser",
"node",
"api-wrapper",
"typescript",
"fetch",
"fetch-api",
"fexios"
],
"author": "Dragon-Fish <dragon-fish@qq.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/moegirlwiki/wiki-saikou/issues"
},
"homepage": "https://github.com/moegirlwiki/wiki-saikou#readme",
"dependencies": {
"@vue/reactivity": "^3.5.8",
"fexios": "^1.7.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@types/chai": "^4.3.19",
"@types/chai-as-promised": "^8.0.0",
"@types/mocha": "^10.0.8",
"@types/node": "^20.16.6",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"dotenv": "^16.4.5",
"esbuild-register": "^3.6.0",
"mocha": "^10.7.3",
"pkgroll": "^2.5.0",
"rimraf": "^6.0.1",
"ts-mocha": "^10.0.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"vite-plugin-dts": "^4.2.2",
"vitest": "^2.1.1"
}
}