-
Notifications
You must be signed in to change notification settings - Fork 73
/
package.json
59 lines (59 loc) · 3.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "pymedphys",
"private": true,
"scripts": {
"app:wheels": "python -c \"from pymedphys_monomanage import app; app.package_wheels('.')\"",
"bootstrap": "yarn bootstrap:dev",
"bootstrap:dev": "yarn && yarn nbstripout:install && yarn install:dev",
"bootstrap:dev:all": "yarn bootstrap:dev && yarn pip:install:all",
"bump:patch": "yarn lerna version --force-publish=* --no-git-tag-version patch && yarn postversion",
"bump:minor": "yarn lerna version --force-publish=* --no-git-tag-version minor && yarn postversion",
"bump:dev:minor": "yarn lerna version --force-publish=* --no-git-tag-version --preid dev preminor && yarn postversion",
"bump:dev": "yarn lerna version --force-publish=* --no-git-tag-version --preid dev prerelease && yarn postversion",
"conda-forge": "yarn && yarn lerna run conda-forge -- --scope=$SUBPACKAGE",
"conda-forge:archive": "python ./scripts/create-conda-forge-archive.py",
"docker:internal": "yarn lerna run pip:install:prod --scope=pymedphys --include-filtered-dependencies --concurrency 1",
"docs": "yarn docs:prebuild && yarn docs:live",
"docs:live": "sphinx-autobuild -W -p 7070 docs docs/_build/html",
"docs:netlify": "yarn install:prod && yarn pip:install:docs && export PATH=`pwd`/bin:$PATH && yarn docs:prebuild && sphinx-build -W docs docs/_build/html",
"docs:prebuild": "python -c \"from pymedphys_monomanage import docs; docs.pre_docs_build('.')\"",
"git:clean": "git clean -fxd",
"git:undo": "git reset --soft HEAD~1",
"install:dev": "yarn lerna run pip:install:dev --concurrency 1",
"install:prod": "yarn lerna run pip:install:prod --concurrency 1",
"install:test": "yarn lerna run pip:install:test --concurrency 1",
"install:subpackage:test": "yarn lerna run pip:install:test -- --scope=$SUBPACKAGE --include-filtered-dependencies --concurrency 1",
"install:subpackage:dev": "yarn lerna run pip:install:dev -- --scope=$SUBPACKAGE --include-filtered-dependencies --concurrency 1",
"lerna:pypi:build": "lerna run pypi:build",
"lerna:pypi:upload": "lerna run pypi:upload",
"monomanage:install": "export SUBPACKAGE=pymedphys_monomanage && yarn install:subpackage:dev",
"nbstripout:install": "pip install nbstripout && nbstripout --install",
"postversion": "yarn lerna run postversion --concurrency 1 && python -m pymedphys_monomanage.propagate.dependencies",
"pip:install:dev": "yarn lerna run pip:install:dev --scope=pymedphys",
"pip:install:dev:test": "yarn lerna run pip:install:dev:test --scope=pymedphys",
"pip:install:prod": "yarn lerna run pip:install:prod --scope=pymedphys",
"pip:install:test": "yarn lerna run pip:install:test --scope=pymedphys",
"pip:install:docs": "yarn lerna run pip:install:docs --scope=pymedphys",
"pip:install:all": "yarn lerna run pip:install:all --scope=pymedphys",
"pypi:build": "lerna run pypi:build",
"pypi:clean": "lerna run pypi:clean",
"pypi:upload": "lerna run pypi:upload",
"pytest:pylint": "pytest --pylint --pylint-error-types=EF --pylint-jobs=8",
"test:subpackage": "yarn install:subpackage:test && pytest -v packages/$SUBPACKAGE && pylint --errors-only --verbose $SUBPACKAGE",
"tree": "yarn tree:build && yarn postversion",
"tree:build": "python -c \"from pymedphys_monomanage import tree; tree.build_tree('packages')\"",
"tree:test": "python -c \"from pymedphys_monomanage import tree; tree.test_tree('packages')\""
},
"husky": {
"hooks": {
"pre-commit": "nbstripout --is-installed"
}
},
"devDependencies": {
"husky": "^1.3.1",
"lerna": "^3.13.3"
},
"dependencies": {
"uuid": "^3.3.2"
}
}