|
20 | 20 | "generate-python-classes": "python -c 'import dash; dash.development.component_loader.generate_classes(\"dash_html_components\", \"dash_html_components/metadata.json\")'",
|
21 | 21 | "generate-components": "cd scripts && sh generate-all.sh && cd -",
|
22 | 22 | "install-local": "npm run copy-lib && python setup.py install",
|
| 23 | + "uninstall-local": "pip uninstall dash-html-components -y", |
23 | 24 | "prepublish": "npm run clean && npm run generate-components && npm test && npm run build:js && npm run build:js-dev && npm run build:py",
|
24 |
| - "publish-all": "npm publish && python setup.py sdist upload", |
| 25 | + "publish-all": "node scripts/publish.js", |
25 | 26 | "start": "webpack-serve ./webpack.serve.config.js --open",
|
26 |
| - "test": "eslint --fix src", |
27 |
| - "uninstall-local": "pip uninstall dash-html-components -y", |
| 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", |
28 | 31 | "build:js": "webpack --mode production",
|
29 | 32 | "build:js-dev": "webpack --mode development",
|
30 |
| - "build:py": "node ./extract-meta src/components > dash_html_components/metadata.json && cp package.json dash_html_components && npm run generate-python-classes" |
| 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" |
31 | 37 | },
|
32 | 38 | "author": "Chris Parmer <chris@plot.ly>",
|
33 | 39 | "dependencies": {
|
|
0 commit comments