66 lines
2.2 KiB
JSON
66 lines
2.2 KiB
JSON
|
{
|
||
|
"name": "dash-html-components",
|
||
|
"version": "2.0.15",
|
||
|
"description": "Vanilla HTML components for Dash",
|
||
|
"main": "lib/index.js",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/plotly/dash.git"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/plotly/dash/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/plotly/dash",
|
||
|
"scripts": {
|
||
|
"clean": "rm -rf src/* && mkdir -p src/components",
|
||
|
"prebuild": "cd scripts && sh generate-all.sh && cd -",
|
||
|
"extract": "cd scripts && sh extract-all.sh",
|
||
|
"lint": "eslint src scripts",
|
||
|
"build:js": "webpack --mode production",
|
||
|
"build:backends": "dash-generate-components ./src/components dash_html_components -p package-info.json && cp dash_html_components_base/** dash_html_components && dash-generate-components ./src/components dash_html_components -p package-info.json --r-prefix 'html' --r-suggests 'dash,dashCoreComponents' --jl-prefix 'html' && black dash_html_components",
|
||
|
"build": "npm run build:js && npm run build:backends",
|
||
|
"postbuild": "es-check es5 dash_html_components/*.js",
|
||
|
"build:watch": "watch 'npm run build' src",
|
||
|
"test:py": "pytest --nopercyfinalize --headless tests/test_dash_html_components.py tests/test_integration.py",
|
||
|
"test": "run-s -c test:py lint"
|
||
|
},
|
||
|
"author": "Chris Parmer <chris@plotly.com>",
|
||
|
"maintainer": "Alex Johnson <alex@plotly.com>",
|
||
|
"dependencies": {
|
||
|
"prop-types": "^15.8.1",
|
||
|
"ramda": "^0.29.0",
|
||
|
"react": "^18.2.0",
|
||
|
"react-dom": "^18.2.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.23.0",
|
||
|
"@babel/core": "^7.23.0",
|
||
|
"@babel/preset-env": "^7.22.20",
|
||
|
"@babel/preset-react": "^7.22.15",
|
||
|
"babel-loader": "^9.1.3",
|
||
|
"cheerio": "^0.22.0",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"es-check": "^7.1.1",
|
||
|
"eslint": "^8.41.0",
|
||
|
"eslint-plugin-import": "^2.27.5",
|
||
|
"eslint-plugin-react": "^7.32.2",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"react-docgen": "^5.4.3",
|
||
|
"request": "^2.88.2",
|
||
|
"string": "^3.3.3",
|
||
|
"webpack": "^5.88.2",
|
||
|
"webpack-cli": "^5.1.4"
|
||
|
},
|
||
|
"files": [
|
||
|
"/dash_html_components/*{.js,.map}"
|
||
|
],
|
||
|
"peerDependencies": {
|
||
|
"react": ">=17",
|
||
|
"react-dom": ">=17"
|
||
|
},
|
||
|
"browserslist": [
|
||
|
"last 8 years and not dead"
|
||
|
]
|
||
|
}
|