naviix
Version:
Spatial navigation. Arrow key navigation.
69 lines (68 loc) • 1.72 kB
JSON
{
"name": "naviix",
"version": "1.0.2",
"description": "Spatial navigation. Arrow key navigation.",
"main": "output/naviix.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./output/naviix.esm.js",
"require": "./output/naviix.js"
}
},
"scripts": {
"watch": "npm-watch",
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./output",
"compile:esm": "BUILD_ENV=esm BABEL_ENV=esm rollup -c",
"compile:cjs": "BUILD_ENV=cjs BABEL_ENV=es5 rollup -c",
"compile:umd": "BUILD_ENV=umd BABEL_ENV=es5 rollup -c",
"compile": "npm run compile:esm && npm run compile:cjs && npm run compile:umd",
"test": "mocha index.spec.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wswmsword/naviix.git"
},
"keywords": [
"a11y",
"accessiblity",
"focus-management",
"focus-navigation",
"spatial-navigation",
"arrow-navigation"
],
"author": "wswmsword",
"license": "MPL-2.0",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/wswmsword/naviix/issues"
},
"homepage": "https://github.com/wswmsword/naviix#readme",
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"mocha": "^11.1.0",
"npm-watch": "^0.13.0",
"rollup": "^4.38.0"
},
"type": "module",
"sideEffects": false,
"watch": {
"compile:esm": {
"patterns": [
"*"
],
"extensions": "js",
"ignore": [
"output",
"node_modules",
"tests",
"example"
]
}
}
}