- add timestamp to cache keys to properly handle deleted/replaced files - create modular LRUCache implementation to limit memory usage (20 workbooks and 255 worksheet per workbook) - added unit tets for LRUCache
101 lines
3.1 KiB
JSON
101 lines
3.1 KiB
JSON
{
|
|
"name": "sheetjs-demo",
|
|
"displayName": "SheetJS Spreadsheet Viewer",
|
|
"description": "View spreadsheets in various formats including XLSX, XLS, CSV, ODS and many more",
|
|
"author": "Asadbek Karimov <contact@asadk.dev>",
|
|
"publisher": "asadbek",
|
|
"icon": "img/logo.png",
|
|
"version": "0.0.8",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://git.sheetjs.com/asadbek064/sheetjs-vscode-extension/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.sheetjs.com/asadbek064/sheetjs-vscode-extension.git"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.96.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"CSV",
|
|
"Excel",
|
|
"spreadsheet",
|
|
"viewer",
|
|
"vscode"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"customEditors": [
|
|
{
|
|
"viewType": "excelViewer.spreadsheet",
|
|
"displayName": "SheetJS Viewer",
|
|
"selector": [
|
|
{"filenamePattern": "*.xlsx"},
|
|
{"filenamePattern": "*.xlsm"},
|
|
{"filenamePattern": "*.xlsb"},
|
|
{"filenamePattern": "*.xls"},
|
|
{"filenamePattern": "*.xlw"},
|
|
{"filenamePattern": "*.xlr"},
|
|
{"filenamePattern": "*.csv"},
|
|
{"filenamePattern": "*.dif"},
|
|
{"filenamePattern": "*.slk"},
|
|
{"filenamePattern": "*.sylk"},
|
|
{"filenamePattern": "*.prn"},
|
|
{"filenamePattern": "*.numbers"},
|
|
{"filenamePattern": "*.et"},
|
|
{"filenamePattern": "*.ods"},
|
|
{"filenamePattern": "*.fods"},
|
|
{"filenamePattern": "*.uos"},
|
|
{"filenamePattern": "*.dbf"},
|
|
{"filenamePattern": "*.wk1"},
|
|
{"filenamePattern": "*.wk3"},
|
|
{"filenamePattern": "*.wks"},
|
|
{"filenamePattern": "*.wk2"},
|
|
{"filenamePattern": "*.wk4"},
|
|
{"filenamePattern": "*.123"},
|
|
{"filenamePattern": "*.wq1"},
|
|
{"filenamePattern": "*.wq2"},
|
|
{"filenamePattern": "*.wb1"},
|
|
{"filenamePattern": "*.wb2"},
|
|
{"filenamePattern": "*.wb3"},
|
|
{"filenamePattern": "*.qpw"},
|
|
{"filenamePattern": "*.xlr"},
|
|
{"filenamePattern": "*.eth" }
|
|
],
|
|
"priority": "default"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "pnpm run package",
|
|
"compile": "webpack",
|
|
"watch": "webpack --watch",
|
|
"package": "webpack --mode production --devtool hidden-source-map",
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
|
|
"lint": "eslint src",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "20.x",
|
|
"@types/vscode": "^1.96.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
"@typescript-eslint/parser": "^8.31.1",
|
|
"@vscode/test-cli": "^0.0.10",
|
|
"@vscode/test-electron": "^2.5.2",
|
|
"eslint": "^9.25.1",
|
|
"ts-loader": "^9.5.2",
|
|
"typescript": "^5.8.3",
|
|
"webpack": "^5.99.7",
|
|
"webpack-cli": "^6.0.1",
|
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
|
|
}
|
|
}
|