UNPKG

vanilla-drag

Version:
59 lines (58 loc) 1.5 kB
{ "name": "vanilla-drag", "version": "1.0.21", "description": "JavaScript draggable HTML elements", "main": "dist/vanillaDrag.js", "types": "dist/vanillaDrag.d.ts", "scripts": { "lint": "eslint ./**/*.js", "watch": "NODE_ENV=dev webpack-dev-server", "test": "jest", "test:watch": "jest --watch --coverage", "production": "rm -rf dist && npm run lint && npm run test && NODE_ENV=production webpack", "prepublishOnly": "npm run production" }, "repository": { "type": "git", "url": "git+https://github.com/mikedevelops/draggable.git" }, "keywords": [ "JavaScript", "Drag", "Drop", "HTML", "draggable" ], "author": "Michael Smart", "license": "ISC", "bugs": { "url": "https://github.com/mikedevelops/draggable/issues" }, "homepage": "https://github.com/mikedevelops/draggable#readme", "devDependencies": { "@types/jest": "^21.1.1", "@types/node": "^8.0.31", "eslint": "^4.8.0", "jest": "^21.2.1", "source-map-loader": "^0.2.2", "ts-jest": "^21.0.1", "ts-loader": "^2.3.7", "typescript": "^2.5.3", "webpack": "^3.6.0", "webpack-dev-server": "^2.9.1", "webpack-html-plugin": "^0.1.1" }, "jest": { "transform": { "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ] } }