|
| 1 | +{ |
| 2 | + "name": "dash-html-components", |
| 3 | + "version": "0.13.2", |
| 4 | + "description": "Vanilla HTML components for Dash", |
| 5 | + "main": "lib/index.js", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://github.com/plotly/dash-html-components.git" |
| 9 | + }, |
| 10 | + "license": "MIT", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/plotly/dash-html-components/issues" |
| 13 | + }, |
| 14 | + "homepage": "https://github.com/plotly/dash-html-components", |
| 15 | + "scripts": { |
| 16 | + "clean-lib": "rm -rf lib/* && mkdir -p lib", |
| 17 | + "clean-src": "rm -rf src/* && mkdir -p src/components", |
| 18 | + "clean": "npm run clean-lib && npm run clean-src", |
| 19 | + "copy-lib": "cp lib/* dash_html_components", |
| 20 | + "generate-python-classes": "python -c 'import dash; dash.development.component_loader.generate_classes(\"dash_html_components\", \"dash_html_components/metadata.json\")'", |
| 21 | + "generate-components": "cd scripts && sh generate-all.sh && cd -", |
| 22 | + "install-local": "npm run copy-lib && python setup.py install", |
| 23 | + "uninstall-local": "pip uninstall dash-html-components -y", |
| 24 | + "prepublish": "npm run clean && npm run generate-components && npm test && npm run build:js && npm run build:js-dev && npm run build:py", |
| 25 | + "publish-all": "node scripts/publish.js", |
| 26 | + "start": "webpack-serve ./webpack.serve.config.js --open", |
| 27 | + "lint": "eslint src", |
| 28 | + "test": "python -m unittest tests.test_integration", |
| 29 | + "format": "prettier --config .prettierrc --write src/**/*.js", |
| 30 | + "format:test": "prettier --config .prettierrc src/**/*.js --list-different", |
| 31 | + "build:js": "webpack --mode production", |
| 32 | + "build:js-dev": "webpack --mode development", |
| 33 | + "build:py": "node ./extract-meta src/components > dash_html_components/metadata.json && cp package.json dash_html_components && npm run generate-python-classes", |
| 34 | + "build:all": "npm run build:js && npm run build:py", |
| 35 | + "build:all-dev": "npm run build:js-dev && npm run build:py", |
| 36 | + "build:watch": "watch 'npm run build:all' src" |
| 37 | + }, |
| 38 | + "author": "Chris Parmer <chris@plot.ly>", |
| 39 | + "dependencies": { |
| 40 | + "babel-core": "^6.26.3", |
| 41 | + "babel-eslint": "^8.2.3", |
| 42 | + "babel-loader": "^7.1.4", |
| 43 | + "babel-plugin-transform-object-rest-spread": "^6.26.0", |
| 44 | + "babel-preset-env": "^1.7.0", |
| 45 | + "babel-preset-react": "^6.24.1", |
| 46 | + "css-loader": "^0.28.11", |
| 47 | + "eslint-plugin-react": "^7.11.1", |
| 48 | + "eslint-plugin-import": "^2.14.0", |
| 49 | + "prop-types": "^15.6.0", |
| 50 | + "react-docgen": "^2.20.1", |
| 51 | + "style-loader": "^0.21.0", |
| 52 | + "webpack": "^4.24.0", |
| 53 | + "webpack-cli": "^3.1.2", |
| 54 | + "webpack-serve": "^2.0.2" |
| 55 | + }, |
| 56 | + "devDependencies": { |
| 57 | + "cheerio": "^0.20.0", |
| 58 | + "cross-env": "^5.2.0", |
| 59 | + "eslint": "^5.3.0", |
| 60 | + "request": "^2.72.0", |
| 61 | + "string": "^3.3.1" |
| 62 | + }, |
| 63 | + "peerDependencies": { |
| 64 | + "react": "^15.4.0 || ^16.0.0", |
| 65 | + "react-dom": "^15.4.0 || ^16.0.0" |
| 66 | + } |
| 67 | +} |
0 commit comments