Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit d9557a2

Browse files
committed
Update package.json scripts.
1 parent 3cb09f2 commit d9557a2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

dash_html_components/package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,18 @@
1313
},
1414
"homepage": "https://github.com/plotly/dash-html-components",
1515
"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",
2017
"generate-python-classes": "python -c 'import dash; dash.development.component_loader.generate_classes(\"dash_html_components\", \"dash_html_components/metadata.json\")'",
2118
"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",
2320
"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",
2522
"publish-all": "node scripts/publish.js",
26-
"start": "webpack-serve ./webpack.serve.config.js --open",
2723
"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",
3124
"build:js": "webpack --mode production",
3225
"build:js-dev": "webpack --mode development",
3326
"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",
3628
"build:watch": "watch 'npm run build:all' src"
3729
},
3830
"author": "Chris Parmer <chris@plot.ly>",

0 commit comments

Comments
 (0)