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

Commit e42be85

Browse files
committed
new approach: npm-run-all -> run-s
1 parent 15d2891 commit e42be85

File tree

3 files changed

+154
-5
lines changed

3 files changed

+154
-5
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ jobs:
5454
command: |
5555
. venv/bin/activate
5656
python --version
57-
set +e
58-
set +o pipefail
5957
npm run test
60-
npm run lint
6158
6259
"python-3.6":
6360
<<: *test-template

package-lock.json

Lines changed: 150 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"build:py": "node ./extract-meta src/components > dash_html_components/metadata.json && cp package.json dash_html_components && npm run generate-python-classes",
2828
"build:all": "npm run build:js && npm run build:js-dev && npm run build:py",
2929
"build:watch": "watch 'npm run build:all' src",
30-
"test": "python -m unittest tests.test_dash_html_components && python -m unittest tests.test_integration && python -m unittest tests.test_dash_import"
30+
"test:import": "python -m unittest tests.test_dash_import",
31+
"test:py": "python -m unittest tests.test_dash_html_components tests.test_integration",
32+
"test": "run-s -c test:py test:import lint"
3133
},
3234
"author": "Chris Parmer <[email protected]>",
3335
"dependencies": {
@@ -52,6 +54,7 @@
5254
"cheerio": "^0.20.0",
5355
"cross-env": "^5.2.0",
5456
"eslint": "^5.3.0",
57+
"npm-run-all": "^4.1.5",
5558
"request": "^2.72.0",
5659
"string": "^3.3.1"
5760
},

0 commit comments

Comments
 (0)