-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
97 lines (97 loc) · 3.81 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
{
"name": "typora-copilot",
"version": "0.3.2",
"private": true,
"description": "GitHub Copilot plugin for Typora",
"keywords": [
"Typora",
"Copilot",
"GitHub Copilot",
"AI",
"code completion",
"code suggestion",
"code generation"
],
"homepage": "https://github.com/Snowflyt/typora-copilot",
"bugs": {
"url": "https://github.com/Snowflyt/typora-copilot/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Snowflyt/typora-copilot"
},
"license": "MIT",
"author": "Snowflyt <[email protected]>",
"type": "module",
"main": "./index.js",
"scripts": {
"build:dev": "npm run prebuild && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && cpy {package.json,README.md,README.zh-CN.md,bin,docs,language-server} dist",
"build:release": "npm run prebuild && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && prettier --log-level=silent --print-width 80 --write dist/**/* --ignore-path !dist/ && cpy {package.json,README.md,README.zh-CN.md,bin,docs,language-server} dist",
"build:watch": "npm run prebuild && cpy {package.json,README.md,README.zh-CN.md,bin,docs,language-server} dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --watch",
"clean": "rimraf dist",
"format": "prettier --no-error-on-unmatched-pattern --write {src,test}/**/*.{json,js,jsx,ts,tsx} *.{js,cjs,mjs,ts,cts,mts,json,md}",
"lint": "eslint {src,test}/**/*.{js,jsx,ts,tsx} *.{js,cjs,mjs,ts,cts,mts} --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --max-warnings 0 && stylelint \"src/**/*.{css,scss}\"",
"lint:fix": "eslint --fix {src,test}/**/*.{js,jsx,ts,tsx} *.{js,cjs,mjs,ts,cts,mts} --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --max-warnings 0 && stylelint --fix \"src/**/*.{css,scss}\"",
"prebuild": "npm run clean",
"prepare": "husky",
"test": "vitest run",
"test-types": "typroof",
"test:cov": "vitest run --coverage",
"test:ui": "vitest --ui --coverage.enabled=true",
"test:watch": "vitest",
"test:watch-cov": "vitest --coverage"
},
"dependencies": {
"@preact/signals": "^2.0.0",
"preact": "^10.25.4",
"radash": "^12.1.0",
"string-ts": "^2.2.0",
"ts-pattern": "^5.6.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@total-typescript/ts-reset": "^0.6.1",
"@types/codemirror": "^5.60.15",
"@types/core-js": "^2.5.8",
"@types/eslint": "^8.56.12",
"@types/jquery": "^3.5.32",
"@types/lint-staged": "^13.3.0",
"@types/node": "^22.10.2",
"@types/rangy": "^0.0.38",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sonarjs": "^0.25.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"happy-dom": "^16.2.6",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.6",
"replace-in-file": "^8.3.0",
"rimraf": "^6.0.1",
"rollup": "^4.29.1",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.83.0",
"stylelint": "^16.12.0",
"stylelint-config-standard-scss": "^14.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typroof": "^0.3.5",
"vitest": "^2.1.8",
"ws": "^8.18.0"
}
}