forked from FlamingTempura/bibtex-tidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.03 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
{
"name": "bibtex-tidy",
"version": "1.11.0",
"description": "Tidy bibtex files",
"homepage": "https://github.com/FlamingTempura/bibtex-tidy",
"repository": {
"type": "git",
"url": "https://github.com/FlamingTempura/bibtex-tidy.git"
},
"author": "FlamingTempura",
"license": "MIT",
"main": "./bibtex-tidy.js",
"module": "./bibtex-tidy.js",
"types": "./bibtex-tidy.d.ts",
"man": "./bibtex-tidy.0",
"bin": {
"bibtex-tidy": "./bin/bibtex-tidy"
},
"files": [
"bin/bibtex-tidy",
"bibtex-tidy.js",
"bibtex-tidy.d.ts",
"bibtex-tidy.0"
],
"scripts": {
"build": "node -r esbuild-register build.ts",
"serve": "node -r esbuild-register build.ts --serve",
"test": "node -r esbuild-register build.ts --no-defs && node -r esbuild-register test/index.ts",
"typecheck": "tsc --noEmit",
"prettier": "prettier --write build.ts {test,docs}/**/*.ts src/*.ts",
"cover": "./scripts/cover.sh",
"preversion": "git pull --rebase",
"version": "./scripts/prepare-release.sh",
"postversion": "git push --follow-tags && npm publish",
"codemirror-grammar": "node ./node_modules/@lezer/generator/dist/lezer-generator.cjs src/ui/bibtex.grammar -o src/ui/bibtex.ts",
"lint": "eslint src test build.ts"
},
"engines": {
"node": ">12"
},
"devDependencies": {
"@codemirror/commands": "^6.2.2",
"@codemirror/language": "^6.6.0",
"@codemirror/lint": "^6.2.0",
"@codemirror/view": "^6.9.3",
"@lezer/generator": "^1.2.2",
"@lezer/highlight": "^1.1.4",
"@swc/core": "^1.3.42",
"@tsconfig/svelte": "^3.0.0",
"@types/node": "^18.15.10",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"c8": "^7.13.0",
"core-js": "^3.29.1",
"dts-bundle-generator": "^7.2.0",
"esbuild": "^0.17.14",
"esbuild-register": "^3.4.2",
"esbuild-svelte": "^0.7.3",
"eslint": "^8.36.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.7",
"puppeteer": "^19.8.0",
"regexpu-core": "^5.3.2",
"svelte-preprocess": "^5.0.3",
"typescript": "^4.9.5"
},
"prettier": {
"useTabs": true,
"singleQuote": true
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json"
],
"extraFileExtensions": [
".svelte"
]
},
"plugins": [
"@typescript-eslint",
"svelte3"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict",
"plugin:import/recommended",
"plugin:import/typescript"
],
"overrides": [
{
"files": [
"*.svelte"
],
"processor": "svelte3/svelte3"
}
],
"settings": {
"svelte3/typescript": true
},
"env": {
"es6": true,
"browser": true
},
"rules": {
"import/order": [
"warn",
{
"alphabetize": {
"order": "asc"
}
}
],
"@typescript-eslint/consistent-type-definitions": [
"warn",
"type"
],
"no-unused-vars": "off",
"@typescript-eslint/switch-exhaustiveness-check": "warn"
}
}
}