-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.98 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 2.98 KB
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
{
"name": "@lvce-editor/diff-worker",
"version": "0.0.0-dev",
"description": "",
"main": "src/diffWorkerMain.ts",
"type": "module",
"directories": {
"test": "test"
},
"scripts": {
"lint": "npx xo .",
"test": "node --unhandled-rejections=warn --experimental-vm-modules ./node_modules/jest/bin/jest.js --detectOpenHandles --forceExit",
"test:watch": "node --unhandled-rejections=warn --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
"type-check": "tsc",
"build": "node scripts/build.js",
"format": "prettier --write ."
},
"keywords": [
"lvce-editor",
"diff"
],
"author": "Lvce Editor",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lvce-editor/diff-worker.git"
},
"devDependencies": {
"@babel/preset-typescript": "^7.28.5",
"@lvce-editor/assert": "^1.5.1",
"@lvce-editor/rpc": "^6.4.0",
"@lvce-editor/rpc-registry": "^9.20.0",
"@lvce-editor/verror": "^1.7.0",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@types/jest": "^30.0.0",
"execa": "^9.6.1",
"jest": "^30.3.0",
"prettier": "^3.8.3",
"rollup": "^4.17.2",
"ts-jest": "^29.4.9",
"typescript": "^6.0.3"
},
"jest": {
"injectGlobals": false,
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 70,
"lines": 70,
"statements": 70
}
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 150
},
"xo": {
"rules": {
"unicorn/filename-case": "off",
"indent": "off",
"semi": "off",
"no-unused-vars": "off",
"unicorn/numeric-separators-style": "off",
"no-extra-semi": "off",
"arrow-body-style": "off",
"padded-blocks": "off",
"capitalized-comments": "off",
"padding-line-between-statements": "off",
"arrow-parens": "off",
"no-warning-comments": "off",
"array-bracket-spacing": "off",
"comma-spacing": "off",
"unicorn/no-array-callback-reference": "off",
"comma-dangle": "off",
"operator-linebreak": "off",
"no-case-declarations": "off",
"no-undef": "off",
"object-curly-spacing": "off",
"object-shorthand": "off",
"complexity": "off",
"no-labels": "off",
"no-multi-assign": "off",
"max-params": "off",
"no-bitwise": "off",
"unicorn/prefer-math-trunc": "off",
"no-await-in-loop": "off",
"unicorn/prefer-add-event-listener": "off",
"no-unused-expressions": "off",
"unicorn/better-regex": "off",
"unicorn/no-array-push-push": "off",
"unicorn/prevent-abbreviations": "off"
},
"ignores": [
"distmin"
]
}
}