UNPKG

@jstarpl/react-contextmenu

Version:
112 lines (111 loc) 3.98 kB
{ "name": "@jstarpl/react-contextmenu", "version": "2.15.0", "description": "Context Menu implemented in React", "main": "modules/index.js", "module": "es6/index.js", "typings": "src/index.d.ts", "keywords": [ "react", "reactjs", "react-component", "contextmenu", "rightclick" ], "files": [ "es6", "modules", "dist", "src/index.d.ts" ], "scripts": { "lint": "eslint ./src ./examples", "test": "npm run lint && npm run test:only", "test:only": "jest --no-cache --verbose --coverage", "test:dev": "jest --watchAll --no-cache --verbose --coverage", "clean": "rimraf ./dist && rimraf ./modules && rimraf ./es6", "clean:examples": "rimraf ./public", "build": "npm run clean && npm run test && npm run build:dist && npm run build:es5 && npm run build:es6", "build:dist": "webpack --progress --profile --colors", "build:es5": "cross-env BABEL_ENV=es5 babel src --out-dir modules", "build:es6": "cross-env BABEL_ENV=es6 babel src --out-dir es6", "build:examples": "npm run clean:examples && npm run build:dev", "build:dev": "cross-env BABEL_ENV=es6 webpack --config examples/webpack.config.js --progress --profile --colors", "start": "npm run build:examples && npm run start:server", "start:server": "http-server public -p 3000", "prepublishOnly": "npm run build" }, "author": "Vivek Kumar Bansal <contact@vkbansal.me>, tomxpcvx <dev@tomxpcvx.wtf>, jstarpl <jan.starzak@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/jstarpl/react-contextmenu" }, "bugs": { "url": "https://github.com/jstarpl/react-contextmenu/issues" }, "homepage": "https://github.com/jstarpl/react-contextmenu", "dependencies": { "classnames": "^2.2.5", "object-assign": "^4.1.0" }, "peerDependencies": { "prop-types": "^15.0.0", "react": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17 || ^18", "react-dom": "^0.14.0 || ^15.0.0 || ^16.0.1 || ^17 || ^18" }, "devDependencies": { "@babel/cli": "^7.11.5", "@babel/core": "^7.11.5", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "@babel/preset-stage-2": "^7.8.3", "@babel/register": "~7.11.5", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^8.1.0", "babel-minify-webpack-plugin": "^0.3.1", "babel-plugin-transform-class-properties": "^6.24.1", "coveralls": "~3.0.3", "cross-env": "~6.0.3", "css-loader": "^4.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "~1.15.1", "enzyme-to-json": "~3.4.3", "eslint": "^5.16.0", "eslint-config-vkbansal": "^6.0.0-alpha.6", "eslint-import-resolver-webpack": "~0.8.3", "eslint-plugin-import": "~2.18.2", "eslint-plugin-react": "~7.16.0", "history": "~4.10.1", "html-webpack-plugin": "^4.5.2", "http-server": "^0.12.3", "jest": "^26.4.2", "jsdom": "~11.3.0", "mini-css-extract-plugin": "^1.6.2", "prop-types": "~15.7.2", "react": "~16.8.4", "react-dom": "~16.8.4", "react-router-dom": "~5.0.1", "react-test-renderer": "~16.8.4", "rimraf": "~3.0.0", "style-loader": "~0.19.0", "webpack": "^4.44.1", "webpack-cli": "^3.3.12" }, "jest": { "setupFiles": [ "<rootDir>/tests/.setup.js" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ], "roots": [ "<rootDir>/tests" ], "collectCoverageFrom": [ "**/src/**/*.js" ] } }