ifc-language-server/package.json
Ryan Schultz 3dc4b610ca chore: Add licensing, attribution, and package for distribution
- Add MIT License with attribution to Alan Rynne (ifc-developer-tools)
- Add ATTRIBUTION.md documenting inspirations and contributions
- Fix package.json:
  * Update main entry point to ./client/out/extension.js
  * Fix compile script to use tsc -b for project references
  * Remove unimplemented commands (ifc.goToDefinition, ifc.findReferences)
  * Add proper metadata (publisher, author, repository)
- Ready for packaging as .vsix
2025-12-07 19:39:09 -06:00

106 lines
No EOL
2.5 KiB
JSON

{
"name": "ifc-language-server",
"displayName": "IFC Language Server",
"description": "Language support for Industry Foundation Classes (IFC) files - inspired by ifc-developer-tools",
"version": "0.1.0",
"publisher": "ryanschultz",
"author": {
"name": "Ryan Schultz"
},
"license": "MIT",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"ifc",
"bim",
"building",
"construction",
"architecture"
],
"repository": {
"type": "git",
"url": "https://github.com/yourusername/ifc-language-server.git"
},
"bugs": {
"url": "https://github.com/yourusername/ifc-language-server/issues"
},
"activationEvents": [
"onLanguage:ifc"
],
"main": "./client/out/extension.js",
"contributes": {
"languages": [
{
"id": "ifc",
"aliases": [
"IFC",
"ifc"
],
"extensions": [
".ifc"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ifc",
"scopeName": "source.ifc",
"path": "./syntaxes/ifc.tmLanguage.json"
}
],
"views": {
"explorer": [
{
"id": "ifcEntityHierarchy",
"name": "IFC Entity Hierarchy",
"when": "resourceLangId == ifc"
},
{
"id": "ifcEntityReferences",
"name": "IFC Entity References",
"when": "resourceLangId == ifc"
}
]
},
"menus": {
"view/item/context": [
{
"command": "ifc.updateBothPanelsFromTree",
"when": "view == ifcEntityHierarchy || view == ifcEntityReferences",
"group": "navigation"
}
]
},
"commands": [
{
"command": "ifc.updateBothPanelsFromTree",
"title": "Update Both Hierarchy and References",
"category": "IFC"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint client/src server/src --ext ts",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"mocha": "^10.2.0",
"typescript": "^5.1.6",
"@vscode/vsce": "^2.19.0"
}
}