-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.38 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
{
"name": "monaco-wiki",
"version": "1.5.0",
"description": "Monaco editor for MediaWiki sites",
"keywords": [
"monaco",
"mediawiki",
"wikitext"
],
"homepage": "https://github.com/bhsd-harry/monaco-wiki#readme",
"bugs": {
"url": "https://github.com/bhsd-harry/monaco-wiki/issues"
},
"license": "GPL-3.0",
"author": "Bhsd",
"type": "module",
"files": [
"/src/tree.ts",
"/dist/",
"!/dist/*.map"
],
"browser": "/dist/main.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/bhsd-harry/monaco-wiki.git"
},
"scripts": {
"prepublishOnly": "npm run build",
"lint:ts": "tsc && tsc --project gh-page/tsconfig.json --noEmit && eslint --cache .",
"lint:css": "stylelint gh-page/*.css",
"lint": "npm run lint:ts && npm run lint:css",
"build:core": "esbuild src/main.ts --charset=utf8 --bundle --minify --target=es2019 --format=esm --outfile=dist/main.min.js",
"build:all": "esbuild src/all.ts --charset=utf8 --bundle --minify --target=es2019 --sourcemap --outfile=dist/all.min.js",
"build:gh-page": "tsc --project gh-page/tsconfig.json",
"build": "npm run build:core && npm run build:all && eslint --no-eslintrc -c .eslintrc.dist.cjs dist/*.js",
"server": "npm run test:end; http-server .. -c-1 --cors -s &",
"test:end": "pkill -x http-server"
},
"dependencies": {
"@codemirror/view": "^6.35.0",
"monaco-editor": "^0.52.0",
"wikiparser-node": "^1.15.0"
},
"devDependencies": {
"@bhsd/codemirror-mediawiki": "^2.20.1",
"@bhsd/common": "^0.6.1",
"@codemirror/lint": "^6.8.4",
"@shikijs/monaco": "^1.24.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@stylistic/stylelint-plugin": "^3.1.1",
"@types/eslint": "^8.56.10",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.1",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-plugin-es-x": "^8.4.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsdoc": "^50.6.0",
"eslint-plugin-json-es": "^1.6.0",
"eslint-plugin-markdown": "4.0.1",
"eslint-plugin-n": "^17.14.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-unicorn": "^56.0.1",
"http-server": "^14.1.0",
"luacheck-browserify": "^0.2.1",
"mocha": "^10.8.2",
"shiki": "^1.24.0",
"stylelint": "^16.11.0",
"stylelint-config-recommended": "^14.0.0",
"typescript": "^5.7.2"
}
}