57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "keyborg",
|
|
"version": "2.6.0",
|
|
"description": "Keyboard Navigation Detection for Web",
|
|
"author": "Marat Abdullin <marata@microsoft.com>",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"typings": "./dist/index.d.ts",
|
|
"typesVersions": {
|
|
"<4.0": {
|
|
"dist/index.d.ts": [
|
|
"dist/ts3.9/index.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/keyborg"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup && npx downlevel-dts ./dist ./dist/ts3.9",
|
|
"bundle-size": "npm run build && monosize measure",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"test": "playwright test",
|
|
"test:serve": "ladle serve --port 3000",
|
|
"lint": "eslint src/ tests/",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"prepublishOnly": "npm run lint && npm run format && npm run build",
|
|
"release": "release-it"
|
|
},
|
|
"devDependencies": {
|
|
"@ladle/react": "^4.0.2",
|
|
"@playwright/test": "^1.40.1",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"@typescript-eslint/parser": "^6.15.0",
|
|
"downlevel-dts": "^0.11.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"monosize": "^0.2.1",
|
|
"monosize-storage-azure": "^0.0.5",
|
|
"playwright": "^1.40.1",
|
|
"prettier": "^3.1.1",
|
|
"react-shadow": "^20.4.0",
|
|
"release-it": "^17.0.1",
|
|
"tsup": "^8.0.1",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|