forked from jinxdash/prettier-plugin-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 1.65 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
{
"name": "@live-codes/prettier-plugin-rust",
"version": "0.2.0",
"description": "Prettier plugin for Rust",
"repository": {
"type": "git",
"url": "https://github.com/jinxdash/prettier-plugin-rust.git"
},
"author": "jinxdash <jinxdash.github@gmail.com> (https://github.com/jinxdash)",
"keywords": [
"prettier",
"formatter",
"rust"
],
"license": "MIT",
"type": "module",
"main": "index.cjs",
"module": "index.js",
"types": "index.d.ts",
"unpkg": "index.global.js",
"jsdelivr": "index.global.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./index.cjs",
"import": "./index.js"
},
"./index.global.js": "./index.global.js"
},
"files": [
"index.js",
"index.cjs",
"index.d.ts",
"index.global.js",
"package.json",
"LICENSE"
],
"scripts": {
"build": "node --loader ts-node/esm ./scripts/build.ts && node --loader ts-node/esm ./tests/test.build.ts",
"test-build": "node --loader ts-node/esm ./tests/test.build.ts",
"test-print-samples": "node --loader ts-node/esm ./tests/print.ts",
"dev-repl": "node --loader ts-node/esm ./scripts/dev.repl.ts",
"dev-format-local": "node --loader ts-node/esm ./scripts/dev.format.ts"
},
"devDependencies": {
"@swc/core": "^1.2.248",
"@types/node": "^18.0.6",
"ts-node": "^10.9.1",
"tsup": "^6.2.3",
"typescript": "^4.8.2"
},
"dependencies": {
"jinx-rust": "0.1.6",
"prettier": "^3.0.0"
},
"prettier": {
"printWidth": 140,
"semi": true,
"tabWidth": 4,
"useTabs": true,
"endOfLine": "lf",
"overrides": [
{
"files": [
"**/*.md"
],
"options": {
"printWidth": 80,
"useTabs": false,
"tabWidth": 2
}
}
]
}
}