-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
72 lines (72 loc) · 1.44 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
{
"name": "prettier-plugin-rust",
"version": "0.1.9",
"description": "Prettier plugin for Rust",
"repository": {
"type": "git",
"url": "https://github.com/jinxdash/prettier-plugin-rust.git"
},
"author": "jinxdash <[email protected]> (https://github.com/jinxdash)",
"keywords": [
"prettier",
"formatter",
"rust"
],
"license": "MIT",
"type": "module",
"main": "index.cjs",
"module": "index.js",
"types": "index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./index.cjs",
"import": "./index.js"
}
},
"files": [
"index.js",
"index.cjs",
"index.d.ts",
"package.json",
"LICENSE"
],
"scripts": {
"build": "ts-node ./scripts/build.ts && ts-node ./tests/test.build.ts",
"test-build": "ts-node ./tests/test.build.ts",
"test-print-samples": "ts-node ./tests/print.ts",
"dev-repl": "ts-node ./scripts/dev.repl.ts",
"dev-format-local": "ts-node ./scripts/dev.format.ts"
},
"devDependencies": {
"@swc/core": "^1.2.248",
"@types/node": "^18.0.6",
"@types/prettier": "^2.7.0",
"ts-node": "^10.9.1",
"tsup": "^6.2.3",
"typescript": "^4.8.2"
},
"dependencies": {
"jinx-rust": "0.1.6",
"prettier": "^2.7.1"
},
"prettier": {
"printWidth": 140,
"semi": true,
"tabWidth": 4,
"useTabs": true,
"endOfLine": "lf",
"overrides": [
{
"files": [
"**/*.md"
],
"options": {
"printWidth": 80,
"useTabs": false,
"tabWidth": 2
}
}
]
}
}