70 строки
2.2 KiB
JSON
70 строки
2.2 KiB
JSON
{
|
|
"name": "@vscode/webview-ui-toolkit",
|
|
"version": "1.4.0",
|
|
"description": "A component library for building webview-based extensions in Visual Studio Code.",
|
|
"homepage": "https://github.com/microsoft/vscode-webview-ui-toolkit#readme",
|
|
"license": "MIT",
|
|
"author": "Microsoft Corporation",
|
|
"type": "module",
|
|
"bugs": {
|
|
"url": "https://github.com/microsoft/vscode-webview-ui-toolkit/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/vscode-webview-ui-toolkit.git"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"start": "npm run test:webview",
|
|
"build": "rollup -c && tsc -p ./tsconfig.json && npm run doc && node ./scripts/move-react-build-dir.js",
|
|
"doc": "api-extractor run --local",
|
|
"fmt": "prettier --config ./.prettierrc --check \"**/*.{ts,js,md}\"",
|
|
"fmt:fix": "prettier --config ./.prettierrc --write \"**/*.{ts,js,md}\"",
|
|
"lint": "eslint . --ext .ts",
|
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
"prepublishOnly": "npm run build",
|
|
"test:webview": "npm run build && node ./scripts/setup-webview-test-env.js",
|
|
"test:webview-react": "npm run build && node ./scripts/setup-webview-react-test-env.js"
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/fast-element": "^1.12.0",
|
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
"@microsoft/fast-react-wrapper": "^0.3.22",
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.38.4",
|
|
"@microsoft/eslint-config-fast-dna": "^2.1.0",
|
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.2.0",
|
|
"@rollup/plugin-typescript": "^8.2.0",
|
|
"@types/react": "^18.0.28",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"prettier": "^3.1.0",
|
|
"rollup": "^3.29.5",
|
|
"rollup-plugin-delete": "^2.0.0",
|
|
"rollup-plugin-filesize": "^9.1.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-transform-tagged-template": "0.0.3",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"keywords": [
|
|
"vscode",
|
|
"visual studio code",
|
|
"webview",
|
|
"extension",
|
|
"ui",
|
|
"components",
|
|
"web components",
|
|
"react"
|
|
]
|
|
}
|