-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
110 lines (110 loc) · 4.24 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "tdp_publicdb",
"description": "",
"version": "10.0.1-SNAPSHOT",
"author": {
"name": "The Caleydo Team",
"email": "[email protected]",
"url": "https://caleydo.org"
},
"license": "BSD-3-Clause",
"homepage": "https://ordino.caleydoapp.org",
"bugs": {
"url": "https://github.com/caleydo/tdp_publicdb/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/caleydo/tdp_publicdb.git"
},
"private": false,
"files": [
"src",
"phovea_registry.js",
"dist",
"tdp_publicdb",
"__init__.py",
"__main__.py",
"requirements.txt",
"requirements_dev.txt",
"docker_packages.txt"
],
"scripts": {
"clean": "rimraf build dist",
"delete-dependencies": "rimraf node_modules",
"check": "flake8 --exclude=.git,venv,deploy,docs,__pycache__,node_modules",
"pretest": "echo hybrid",
"test": "npm run test:web && npm run test:python",
"predist": "echo hybrid",
"dist": "npm run dist:web && npm run dist:python",
"compile": "tsc",
"compile:watch": "tsc -w",
"postcompile": "npm run copy",
"lint": "tslint -c tslint.json -p . 'src/**/*.ts?(x)' 'tests/**/*.ts?(x)'",
"docs": "npm run docs:web && npm run docs:python",
"prebuild": "echo hybrid",
"posttest": "echo hybrid",
"test:watch": "jest --watch",
"build": "npm run build:web && npm run build:python",
"build:web": "npm run clean && npm run compile",
"copy": "npm run copy-assets && npm run copy-styles",
"copy-assets": "if [ -d src/assets ]; then shx --verbose cp -R src/assets/. dist/assets/; fi",
"copy-styles": "if [ -d src/scss ]; then shx --verbose cp -R src/scss/. dist/scss/; fi",
"release:major": "npm version major && npm publish && git push --follow-tags",
"release:minor": "npm version minor && npm publish && git push --follow-tags",
"release:patch": "npm version patch && npm publish && git push --follow-tags",
"pretest:python": "npm run check",
"posttest:web": "npm run lint",
"test:web": "jest --passWithNoTests",
"test:python": "test ! $(find tests -name \"*.py\") || python setup.py test",
"predist:web": "npm run build:web && npm run docs:web",
"dist:web": "mkdir lib && cd dist && tar cvzf ../lib/tdp_publicdb.tar.gz *",
"dist:python": "python setup.py bdist_egg",
"predocker": "npm run build",
"docker": "docker build -t tdp_publicdb -f deploy/Dockerfile .",
"docs:web": "typedoc --options typedoc.json src/**.ts",
"docs:python": "sphinx-apidoc -o docs -f ./tdp_publicdb && sphinx-build ./docs build/docs",
"build:python": "rm -rf build/source && find . -name '*.pyc' -delete && node buildPython.js && cp -r ./tdp_publicdb build/source/",
"predist:python": "npm run build:python && npm run docs:python",
"prebuild:python": "node -e \"process.exit(process.env.PHOVEA_SKIP_TESTS === undefined?1:0)\" || npm run test:python",
"prebuild:web": "node -e \"process.exit(process.env.PHOVEA_SKIP_TESTS === undefined?1:0)\" || npm run test:web",
"db-migration": "cd ../tdp_core && npm run db-migration -- tdp_publicdb",
"db-migration:upgrade": "npm run db-migration -- upgrade",
"db-migration:upgrade:head": "npm run db-migration -- upgrade head",
"db-migration:downgrade": "npm run db-migration -- downgrade",
"db-migration:current": "npm run db-migration -- current",
"db-migration:history": "npm run db-migration -- history"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"npm": ">= 6.12",
"node": ">= 12.13"
},
"devDependencies": {
"@types/d3": "~3.5.36",
"@types/jest": "~26.0.20",
"@types/react-select": "^4.0.13",
"identity-obj-proxy": "~3.0.0",
"jest": "~26.6.3",
"jest-raw-loader": "~1.0.1",
"rimraf": "~3.0.2",
"shx": "~0.3.3",
"ts-jest": "~26.4.4",
"tslib": "~2.0.3",
"tslint": "~5.20.1",
"typedoc": "~0.19.2",
"typescript": "~3.9.7"
},
"dependencies": {
"d3": "~3.5.17",
"react-highlight-words": "^0.17.0",
"react-select": "^4.1.0",
"react-select-async-paginate": "^0.5.3",
"react-virtualized": "^9.22.3",
"tdp_gene": "github:Caleydo/tdp_gene#develop"
},
"optionalDependencies": {
"dTiles": "github:datavisyn/dTiles#develop",
"ordino": "github:Caleydo/ordino#develop"
}
}