UNPKG

vanilla-context-menu

Version:

Easily create context menus using vanilla JavaScript and integrate them in any web application

78 lines (77 loc) 2.33 kB
{ "name": "vanilla-context-menu", "version": "1.6.0", "description": "Easily create context menus using vanilla JavaScript and integrate them in any web application", "main": "./dist/vanilla-context-menu.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build:dev": "webpack --mode=development --watch --progress", "build:prod": "webpack --mode=production", "prepublishOnly": "webpack --mode=production", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/GeorgianStan/vanilla-context-menu.git" }, "keywords": [ "javascript", "context-menu", "right-click menu", "vanilla javascript", "menu" ], "author": "Stan Georgian", "license": "MIT", "bugs": { "url": "https://github.com/GeorgianStan/vanilla-context-menu/issues", "email": "georgian.stan8@gmail.com" }, "homepage": "https://github.com/GeorgianStan/vanilla-context-menu#readme", "devDependencies": { "@babel/core": "^7.19.3", "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@types/dompurify": "^2.3.4", "@types/jest": "^29.1.2", "@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.40.0", "babel-loader": "^8.2.5", "clean-webpack-plugin": "^4.0.0", "css-loader": "^6.7.1", "eslint": "^8.25.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "jest": "^29.1.2", "lint-staged": "^13.0.3", "node-sass": "^7.0.3", "prettier": "^2.7.1", "pug": "^3.0.2", "pug-loader": "^2.4.0", "sass": "^1.55.0", "sass-loader": "^13.1.0", "style-loader": "^3.3.1", "ts-jest": "^29.0.3", "ts-loader": "^9.4.1", "typescript": "^4.8.4", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, "dependencies": { "dompurify": "^2.4.0" }, "lint-staged": { "*.{js,ts,json,scss,html}": "prettier --write", "{!(*spec).ts,*.html}": "eslint --cache" } }