Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
react-plotly.js/package.json
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
77 lines (77 sloc)
2.76 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "react-plotly.js", | |
| "version": "2.6.0", | |
| "license": "MIT", | |
| "description": "A plotly.js react component from Plotly", | |
| "author": "Plotly, Inc.", | |
| "main": "react-plotly.js", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/plotly/react-plotly.js.git" | |
| }, | |
| "bugs": { | |
| "url": "https://github.com/plotly/react-plotly.js/issues" | |
| }, | |
| "scripts": { | |
| "make:lib": "mkdirp lib && babel src --out-dir lib --ignore \"src/__tests__/*.js\",\"src/__mocks__/*.js\" --presets=@babel/preset-env,@babel/preset-react --source-maps && mv lib/* ./ && rmdir lib", | |
| "make:dist": "mkdirp dist && browserify src/factory.js -o ./dist/create-plotly-component.js -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] --plugins [ @babel/plugin-proposal-class-properties ] ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./dist/create-plotly-component.js --compress --mangle --output ./dist/create-plotly-component.min.js --source-map filename=dist/create-plotly-component.min.js.map", | |
| "clean": "rimraf lib dist react-plotly.js react-plotly.js.map factory.js factory.js.map", | |
| "prepublishOnly": "npm run clean && npm run make:lib && npm run make:dist", | |
| "lint": "prettier --trailing-comma es5 --write \"src/**/*.js\" && eslint src", | |
| "test": "npm run lint && npm run deps && jest", | |
| "watch-test": "jest --watch", | |
| "watch": "nodemon --exec \"npm run make:lib\" -w src", | |
| "deps": "./node_modules/.bin/dependency-check src/react-plotly.js --missing" | |
| }, | |
| "keywords": [ | |
| "graphing", | |
| "plotting", | |
| "data", | |
| "visualization", | |
| "plotly", | |
| "react" | |
| ], | |
| "dependencies": { | |
| "prop-types": "^15.8.1" | |
| }, | |
| "devDependencies": { | |
| "@babel/cli": "^7.18.10", | |
| "@babel/core": "^7.19.0", | |
| "@babel/plugin-proposal-class-properties": "^7.18.6", | |
| "@babel/preset-env": "^7.19.0", | |
| "@babel/preset-react": "^7.18.6", | |
| "babel-eslint": "^10.1.0", | |
| "babelify": "^10.0.0", | |
| "brfs": "^2.0.2", | |
| "browserify": "^17.0.0", | |
| "browserify-global-shim": "^1.0.3", | |
| "cash-mv": "^0.2.0", | |
| "dependency-check": "^4.1.0", | |
| "enzyme": "^3.11.0", | |
| "enzyme-adapter-react-16": "^1.15.6", | |
| "eslint": "^7.14.0", | |
| "eslint-config-prettier": "^6.15.0", | |
| "eslint-plugin-import": "^2.26.0", | |
| "eslint-plugin-react": "^7.31.7", | |
| "event-emitter": "^0.3.5", | |
| "jest": "^26.6.3", | |
| "mkdirp": "^1.0.4", | |
| "nodemon": "^2.0.19", | |
| "onetime": "^5.1.2", | |
| "plotly.js": "^2.14.0", | |
| "prettier": "^2.7.1", | |
| "react": "^16.13.1", | |
| "react-dom": "^16.13.1", | |
| "react-test-renderer": "^16.13.1", | |
| "rimraf": "^3.0.2", | |
| "semver": "^7.3.7", | |
| "uglify-js": "^3.17.0" | |
| }, | |
| "peerDependencies": { | |
| "plotly.js": ">1.34.0", | |
| "react": ">0.13.0" | |
| }, | |
| "browserify-global-shim": { | |
| "react": "React" | |
| } | |
| } |