-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.71 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.71 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
{
"name": "prettier-plugin-modelica",
"version": "0.1.1",
"description": "Prettier plugin for Modelica code formatting using tree-sitter",
"type": "module",
"repository": "github:AntoineGautier/prettier-plugin-modelica",
"bugs": "https://github.com/AntoineGautier/prettier-plugin-modelica/issues",
"homepage": "https://github.com/AntoineGautier/prettier-plugin-modelica#readme",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"modelica-format": "dist/cli.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md"
],
"scripts": {
"setup": "node scripts/setup.mjs",
"build": "tsc && cp src/tree-sitter-modelica.wasm dist/tree-sitter-modelica.wasm && chmod +x dist/cli.js",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"format": "node dist/cli.js",
"parse": "tsx src/cli.ts",
"test": "npm run build && bash test/run-tests.sh",
"test:indentcheck": "npm run build && bash test/run-tests.sh --indent-check",
"changelog:preview": "commit-and-tag-version --dry-run"
},
"keywords": [
"prettier",
"prettier-plugin",
"modelica",
"formatter",
"tree-sitter"
],
"author": "Antoine Gautier <agautier@solamen.fr> (https://github.com/AntoineGautier)",
"license": "AGPL-3.0",
"peerDependencies": {
"prettier": "^3.0.0"
},
"dependencies": {
"web-tree-sitter": "^0.26.12"
},
"engines": {
"node": "^20 || ^22"
},
"devDependencies": {
"@types/node": "^20.10.0",
"commit-and-tag-version": "^13.1.2",
"prettier": "^3.4.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}