tocada
Version:
Touch events with ease! (Inspired by the wonderful Tocca.js library). Written in Typescript with love
60 lines • 1.72 kB
JSON
{
"name": "tocada",
"version": "2.2.0",
"description": "Touch events with ease! (Inspired by the wonderful Tocca.js library). Written in Typescript with love",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist"
],
"scripts": {
"safe-publish": "bun run test && npm run prepublish && npm publish",
"prepublish": "npm run build",
"build": "tsc --emitDeclarationOnly --declaration --outDir ./dist && bun build.js",
"build:watch": "concurrently \"tsc --watch\" \"bun build.js --watch\"",
"serve": "bunx serve ./",
"test": "bun test",
"test:watch": "bunx test --watch",
"localdemo": "cd local-demo && bun install --clean && bun run dev",
"demo": "bun clean.ts && bun run test && bun run build && npm pack && bun run localdemo",
"demo:dev": "cd dev-demo && bun install --clean && bun run dev",
"dev": "concurrently \"bun run build:watch\" \"bun run demo:dev\""
},
"repository": {
"type": "git",
"url": "git://github.com/tamb/tocada.git"
},
"author": "Gianluca Guarini, Tamb",
"license": "MIT",
"bugs": {
"url": "https://github.com/tamb/tocada/issues"
},
"homepage": "https://github.com/tamb/tocada.js",
"keywords": [
"touch",
"events",
"mobile",
"swipe",
"gesture",
"tap",
"dbltap",
"longtap",
"swipeleft",
"swiperight",
"swipeup",
"swipedown",
"swipecancel",
"velocity",
"pinch",
"spread",
"typescript"
],
"devDependencies": {
"@happy-dom/global-registrator": "^14.7.1",
"concurrently": "^8.2.2",
"typescript": "^5.3.3"
}
}