@figlinq/react-chart-editor
Version:
plotly.js chart editor react component UI
170 lines (169 loc) • 5.6 kB
JSON
{
"name": "@figlinq/react-chart-editor",
"description": "plotly.js chart editor react component UI",
"version": "0.51.1",
"author": "Figlinq",
"bugs": {
"url": "https://github.com/figlinq/react-chart-editor/issues"
},
"scripts": {
"prettier": "prettier --write \"src/**/*.{js,scss}\" \"dev/**/*.{js,scss}\" \"examples/**/*.{js,scss}\"",
"build:arrows": "node scripts/makeArrows.js",
"build:translation-keys": "node scripts/findTranslationKeys.js",
"build:combined-translation-keys": "npm run build:translation-keys && node scripts/combineTranslationKeys.js",
"build:css": "mkdirp lib && sass src/styles/main.scss:lib/react-chart-editor.css && postcss lib/react-chart-editor.css -o lib/react-chart-editor.min.css ",
"build:js": "mkdirp lib && NODE_ENV=production babel src --out-dir lib --ignore=__tests__/* --source-maps",
"build": "rimraf lib && mkdir lib && npm run build:js && npm run build:css && npm run build:combined-translation-keys",
"watch": "webpack serve --hot --mode development",
"prepublishOnly": "npm run build",
"storybook": "start-storybook -p 9001 -c .storybook",
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
"test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill --maxWorkers=2",
"test:lint": "eslint \"src/**/*.js\" \"dev/**/*.js\" \"examples/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"test:pretty": "prettier -l \"src/**/*.js\" \"dev/**/*.js\" \"examples/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"test:percy": "node --max-old-space-size=4096 $(npm bin)/build-storybook && percy storybook ./storybook-static",
"test:percy-local": "node --max-old-space-size=4096 $(npm bin)/build-storybook",
"test:watch": "jest --watch"
},
"dependencies": {
"@figlinq/plotly-icons": "^3.0.2",
"@figlinq/react-rangeslider": "^3.0.1",
"@hello-pangea/color-picker": "^3.2.2",
"@mdi/js": "^7.3.67",
"@mdi/react": "^1.6.1",
"@plotly/draft-js-export-html": "^1.2.0",
"classnames": "^2.3.2",
"deep-object-diff": "^1.1.9",
"draft-js": "^0.11.7",
"draft-js-import-html": "^1.4.1",
"draft-js-utils": "^1.4.1",
"fast-isnumeric": "^1.1.4",
"immutability-helper": "^3.1.1",
"prop-types": "^15.8.1",
"raf": "^3.4.1",
"react-colorscales": "^0.7.3",
"react-day-picker": "^7.4.10",
"react-dropzone": "^14.2.3",
"react-plotly.js": "^2.6.0",
"react-resizable-rotatable-draggable": "^0.2.0",
"react-select": "^5.8.0",
"react-tabs": "^4.2.1",
"styled-components": "^5.3.8",
"tinycolor2": "^1.6.0"
},
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.5",
"@babel/eslint-parser": "7.23.3",
"@babel/node": "7.22.19",
"@babel/plugin-proposal-export-default-from": "^7.23.3",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-object-rest-spread": "7.23.4",
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/traverse": "7.23.5",
"@hot-loader/react-dom": "16.14.0",
"@percy/cli": "1.27.5",
"@percy/storybook": "4.3.6",
"@storybook/builder-webpack5": "^6.5.14",
"@storybook/manager-webpack5": "^6.5.14",
"@storybook/react": "6.5.16",
"autoprefixer": "10.4.16",
"babel-jest": "26.6.3",
"babel-loader": "9.1.3",
"babel-plugin-module-resolver": "4.1.0",
"caniuse-lite": "^1.0.30001566",
"css-loader": "6.8.1",
"cssnano": "6.0.1",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsx": "0.1.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-percy": "0.2.4",
"fs": "0.0.2",
"glob": "8.1.0",
"jest": "26.6.3",
"jest-cli": "26.6.3",
"mkdirp": "3.0.1",
"plotly.js": "2.27.1",
"postcss": "8.4.32",
"postcss-cli": "10.1.0",
"postcss-combine-duplicated-selectors": "10.0.3",
"postcss-import": "15.1.0",
"postcss-preset-env": "9.3.0",
"prettier": "2.8.8",
"react": "16.14.0",
"react-ace": "7.0.5",
"react-dom": "16.14.0",
"react-hot-loader": "4.13.1",
"react-inspector": "5.1.1",
"react-test-renderer": "16.14.0",
"request": "2.88.2",
"rimraf": "5.0.5",
"sass": "1.69.5",
"sass-loader": "13.3.2",
"style-loader": "3.3.3",
"webpack": "5.89.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1"
},
"peerDependencies": {
"plotly.js": ">=1.58.5 <3.0.0",
"react": ">=16.14.0",
"react-dom": ">=16.14.0"
},
"engines": {
"node": ">=12.13.0"
},
"homepage": "https://figlinq.github.io/react-chart-editor/",
"jest": {
"roots": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"^.+\\.css$": "<rootDir>/config/CSSStub.js"
},
"transformIgnorePatterns": [
"@figlink/plotly-icons"
],
"setupFiles": [
"<rootDir>/jestSetup.js"
]
},
"keywords": [
"chart",
"data",
"editor",
"graphing",
"plotly.js",
"plotting",
"react",
"visualization",
"widgets"
],
"license": "MIT",
"main": "lib/index.js",
"module": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/figlinq/react-chart-editor.git"
},
"browserslist": [
"defaults",
"not IE 11"
],
"volta": {
"node": "16.14.0",
"yarn": "1.22.19"
},
"directories": {
"example": "examples",
"lib": "lib"
},
"resolutions": {
"cheerio": "0.22.0"
}
}