UNPKG

vanilla-swipe

Version:

Tiny vanilla JS library to detect swipe direction.

72 lines (71 loc) 2.24 kB
{ "name": "vanilla-swipe", "version": "2.4.1", "description": "Tiny vanilla JS library to detect swipe direction.", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "jest --config jestconfig.json", "test:watch": "jest --watch --config jestconfig.json", "test:coverage": "jest --config jestconfig.json --coverage", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build:lib": "rimraf lib && rimraf coverage && npm run build:types && npm run build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src/lib --out-dir lib --extensions \".ts,.tsx\"", "build:static": "rimraf lib static && webpack --mode=production", "prepare": "npm run build:lib", "postpublish": "git push --tags", "start": "webpack-dev-server --hot --mode=none", "version:major": "npm version major", "version:minor": "npm version minor", "version:patch": "npm version patch" }, "repository": { "type": "git", "url": "https://github.com/maxmarinich/vanilla-swipe" }, "keywords": [ "swipe", "touch", "touchable", "swipeable", "drag and drop" ], "author": "Max Marinich", "maintainers": [ { "name": "Max Marinich", "email": "max.marinich@gmail.com" } ], "license": "MIT", "bugs": { "url": "https://github.com/maxmarinich/vanilla-swipe/issues" }, "homepage": "https://github.com/maxmarinich/vanilla-swipe", "devDependencies": { "@babel/cli": "^7.14.0", "@babel/core": "^7.14.0", "@babel/plugin-proposal-class-properties": "^7.14.0", "@babel/plugin-proposal-numeric-separator": "^7.14.0", "@babel/plugin-proposal-object-rest-spread": "^7.14.0", "@babel/preset-env": "^7.14.0", "@babel/preset-typescript": "^7.14.0", "@types/jest": "^27.0.0", "@types/webpack-env": "^1.15.1", "css-loader": "^3.5.0", "html-loader": "^1.1.0", "html-webpack-plugin": "^4.0.4", "jest": "27.0.0", "rimraf": "^3.0.0", "style-loader": "^1.1.3", "ts-jest": "^27.0.0", "ts-loader": "^6.2.2", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.7.4" }, "publishConfig": { "access": "public" } }