|
35 | 35 | "types": "./lib/index.d.ts", |
36 | 36 | "scripts": { |
37 | 37 | "clean": "rimraf dist build lib upsetjs_jupyter_widget/labextension \"upsetjs_jupyter_widget/nbextension/static/index*\"", |
38 | | - "build": "yarn build:lib && yarn build:nbextension", |
| 38 | + "build": "yarn run build:lib && yarn run build:nbextension", |
39 | 39 | "build:labextension": "mkdirp upsetjs_jupyter_widget/labextension && cd upsetjs_jupyter_widget/labextension && npm pack ../..", |
40 | | - "build:lib": "yarn clean && tsc -p tsconfig.build.json", |
| 40 | + "build:lib": "yarn run clean && tsc -p tsconfig.build.json", |
41 | 41 | "build:nbextension": "webpack --mode production", |
42 | | - "build:all": "yarn build:lib && yarn build:labextension && yarn build:nbextension", |
| 42 | + "build:all": "yarn run build:lib && yarn run build:labextension && yarn run build:nbextension", |
43 | 43 | "build:p": "python setup.py clean sdist bdist_wheel", |
44 | | - "_prepack": "yarn build:lib", |
45 | | - "lint": "yarn eslint && yarn prettier:check", |
46 | | - "fix": "yarn eslint:fix && yarn prettier:write", |
| 44 | + "_prepack": "yarn run build:lib", |
| 45 | + "lint": "yarn run eslint && yarn run prettier:check", |
| 46 | + "fix": "yarn run eslint:fix && yarn run prettier:write", |
47 | 47 | "prettier": "prettier \"*.{md,json,yml}\" .eslintrc.js webpack* .prettierrc.js \"{src,types,scripts,.github}/**\" \"{r_package,binder}/*.yml\"", |
48 | | - "prettier:write": "yarn prettier -- --write", |
49 | | - "prettier:check": "yarn prettier -- --check", |
| 48 | + "prettier:write": "yarn run prettier -- --write", |
| 49 | + "prettier:check": "yarn run prettier -- --check", |
50 | 50 | "black": "black --target-version=py37 upsetjs_jupyter_widget setup.py setupbase.py", |
51 | 51 | "eslint": "eslint src --ext .ts,.tsx", |
52 | | - "eslint:fix": "yarn eslint -- --fix", |
53 | | - "lint:p": "mypy -p upsetjs_jupyter_widget && yarn black -- --check && pylint upsetjs_jupyter_widget", |
54 | | - "fix:p": "yarn black", |
| 52 | + "eslint:fix": "yarn run eslint -- --fix", |
| 53 | + "lint:p": "mypy -p upsetjs_jupyter_widget && yarn run black -- --check && pylint upsetjs_jupyter_widget", |
| 54 | + "fix:p": "yarn run black", |
55 | 55 | "test:p": "pytest", |
56 | 56 | "test:p:ci": "pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html", |
57 | 57 | "nbconvert": "jupyter nbconvert examples/*.ipynb --to html", |
|
0 commit comments