|
3 | 3 | "license": "UNLICENSED", |
4 | 4 | "scripts": { |
5 | 5 | "private::format.black": "black dash tests --exclude metadata_test.py", |
6 | | - "private::format.renderer": "cd dash/dash-renderer && npm run format", |
| 6 | + "private::format.renderer": "cd src/dash/dash-renderer && npm run format", |
7 | 7 | "private::format.dcc": "cd components/dash-core-components && npm run format", |
8 | | - "private::initialize.renderer": "cd dash/dash-renderer && npm ci", |
9 | | - "private::cibuild.components": "python dash/development/update_components.py 'all' --ci True", |
10 | | - "private::build.components": "python dash/development/update_components.py 'all'", |
11 | | - "private::cibuild.renderer": "cd dash/dash-renderer && renderer build", |
12 | | - "private::build.renderer": "cd dash/dash-renderer && renderer build", |
| 8 | + "private::initialize.renderer": "cd src/dash/dash-renderer && npm ci", |
| 9 | + "private::cibuild.components": "python src/dash/development/update_components.py 'all' --ci True", |
| 10 | + "private::build.components": "python src/dash/development/update_components.py 'all'", |
| 11 | + "private::cibuild.renderer": "cd src/dash/dash-renderer && renderer build", |
| 12 | + "private::build.renderer": "cd src/dash/dash-renderer && renderer build", |
13 | 13 | "private::build.jupyterlab": "cd \\@plotly/dash-jupyterlab && jlpm install && jlpm build:pack", |
14 | | - "private::lint.black": "node -e \"if ((process.env.PYVERSION || 'python312') !== 'python38'){process.exit(1)} \" || black dash tests --exclude metadata_test.py --check", |
15 | | - "private::lint.flake8": "flake8 --exclude=metadata_test.py dash tests", |
16 | | - "private::lint.pylint-dash": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint dash setup.py --rcfile=$PYLINTRC", |
| 14 | + "private::lint.black": "node -e \"if ((process.env.PYVERSION || 'python312') !== 'python38'){process.exit(1)} \" || black src tests --exclude metadata_test.py --check", |
| 15 | + "private::lint.flake8": "flake8 --exclude=metadata_test.py src tests", |
| 16 | + "private::lint.pylint-dash": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint src setup.py --rcfile=$PYLINTRC", |
17 | 17 | "private::lint.pylint-tests": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint tests/unit tests/integration -d all -e C0410,C0413,W0109 --rcfile=$PYLINTRC", |
18 | | - "private::lint.renderer": "cd dash/dash-renderer && npm run lint", |
| 18 | + "private::lint.renderer": "cd src/dash/dash-renderer && npm run lint", |
19 | 19 | "private::test.setup-components": "cd \\@plotly/dash-test-components && npm ci && npm run build", |
20 | 20 | "private::test.setup-nested": "cd \\@plotly/dash-generator-test-component-nested && npm ci && npm run build", |
21 | 21 | "private::test.setup-standard": "cd \\@plotly/dash-generator-test-component-standard && npm ci && npm run build", |
|
28 | 28 | "private::test.R.deploy-nested": "npm run private::test.setup-nested && cd \\@plotly/dash-generator-test-component-nested && sudo R CMD INSTALL .", |
29 | 29 | "private::test.R.deploy-standard": "npm run private::test.setup-standard && cd \\@plotly/dash-generator-test-component-standard && sudo R CMD INSTALL .", |
30 | 30 | "private::test.unit-dash": "pytest tests/unit", |
31 | | - "private::test.unit-renderer": "cd dash/dash-renderer && npm run test", |
| 31 | + "private::test.unit-renderer": "cd src/dash/dash-renderer && npm run test", |
32 | 32 | "private::test.unit-generation": "cd \\@plotly/dash-generator-test-component-typescript && npm ci && npm test", |
33 | 33 | "private::test.integration-dash": "TESTFILES=$(circleci tests glob \"tests/integration/**/test_*.py\" | circleci tests split --split-by=timings) && pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}", |
34 | 34 | "private::test.integration-dash-import": "cd tests/integration/dash && python dash_import_test.py", |
|
43 | 43 | "setup-tests.R": "run-s private::test.R.deploy-*", |
44 | 44 | "citest.integration": "run-s setup-tests.py private::test.integration-*", |
45 | 45 | "citest.unit": "run-s private::test.unit-**", |
46 | | - "test": "pytest && cd dash/dash-renderer && npm run test" |
| 46 | + "test": "pytest && cd src/dash/dash-renderer && npm run test" |
47 | 47 | }, |
48 | 48 | "devDependencies": { |
49 | 49 | "husky": "8.0.3", |
|
0 commit comments