|
13 | 13 | },
|
14 | 14 | "homepage": "https://github.com/plotly/dash-html-components",
|
15 | 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", |
| 16 | + "clean": "rm -rf src/* && mkdir -p src/components", |
20 | 17 | "generate-python-classes": "python -c 'import dash; dash.development.component_loader.generate_classes(\"dash_html_components\", \"dash_html_components/metadata.json\")'",
|
21 | 18 | "generate-components": "cd scripts && sh generate-all.sh && cd -",
|
22 |
| - "install-local": "npm run copy-lib && python setup.py install", |
| 19 | + "install-local": "python setup.py install", |
23 | 20 | "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", |
| 21 | + "prepublish": "npm run clean && npm run generate-components && npm run build:all", |
25 | 22 | "publish-all": "node scripts/publish.js",
|
26 |
| - "start": "webpack-serve ./webpack.serve.config.js --open", |
27 | 23 | "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 | 24 | "build:js": "webpack --mode production",
|
32 | 25 | "build:js-dev": "webpack --mode development",
|
33 | 26 | "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", |
| 27 | + "build:all": "npm run build:js && npm run build:js-dev && npm run build:py", |
36 | 28 | "build:watch": "watch 'npm run build:all' src"
|
37 | 29 | },
|
38 | 30 | "author": "Chris Parmer <chris@plot.ly>",
|
|
0 commit comments