@sjcrh/proteinpaint-server 2.17.0 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/genome/hg38.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var clinvar = require('../dataset/clinvar');
3
+ var clinvar_1 = require("../dataset/clinvar");
4
4
  exports.default = {
5
5
  species: 'human',
6
6
  genomefile: 'genomes/hg38.gz',
@@ -12,7 +12,9 @@ exports.default = {
12
12
  label: 'MSigDB',
13
13
  cohort: {
14
14
  db: { file: 'anno/msigdb/db' },
15
- termdb: {}
15
+ termdb: {
16
+ isGeneSetTermdb: true
17
+ }
16
18
  }
17
19
  }
18
20
  },
@@ -30,7 +32,7 @@ exports.default = {
30
32
  clinvarVCF: {
31
33
  file: 'hg38/clinvar.hg38.hgvs_short.vep.bcf.gz',
32
34
  infokey: 'CLNSIG',
33
- categories: clinvar.clinsig
35
+ categories: clinvar_1.clinsig
34
36
  },
35
37
  tracks: [
36
38
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-server",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "description": "a genomics visualization tool for exploring a cohort's genotype and phenotype data",
5
5
  "main": "server.js",
6
6
  "bin": "start.js",
@@ -10,13 +10,13 @@
10
10
  },
11
11
  "scripts": {
12
12
  "dev": "webpack --env NODE_ENV=development --watch --color",
13
- "start": "tsc genome/*.ts dataset/*.ts && nodemon --enable-source-maps server.js --watch ./server*.js* --watch dataset/*.ts --watch genome/*.ts",
14
- "pretest": "tsc genome/*.ts dataset/*.ts && ./test/pretest.js",
13
+ "start": "tsc --esModuleInterop genome/*.ts dataset/*.ts && nodemon --enable-source-maps server.js --watch ./server*.js* --watch dataset/*.ts --watch genome/*.ts",
14
+ "pretest": "tsc --esModuleInterop genome/*.ts dataset/*.ts && ./test/pretest.js",
15
15
  "test": "webpack --env NODE_ENV=test exportsFilename=all-test-context.js && node --enable-source-maps test/serverTests.js",
16
- "test:unit": "webpack --env NODE_ENV=test exportsFilename=unit-test-context.js && tsc dataset/*.ts && node --enable-source-maps test/serverTests.js",
17
- "pretest:integration": "tsc genome/*.ts dataset/*.ts",
16
+ "test:unit": "webpack --env NODE_ENV=test exportsFilename=unit-test-context.js && tsc --esModuleInterop dataset/*.ts && node --enable-source-maps test/serverTests.js",
17
+ "pretest:integration": "tsc --esModuleInterop genome/*.ts dataset/*.ts",
18
18
  "test:integration": "echo 'TODO: server integration tests'",
19
- "prepack": "tsc genome/*.ts dataset/*.ts && webpack --env NODE_ENV=production",
19
+ "prepack": "tsc --esModuleInterop genome/*.ts dataset/*.ts && webpack --env NODE_ENV=production",
20
20
  "response": "nodemon modules/test/test.server.js --watch src",
21
21
  "getconf": "../build/getConfigProp.js"
22
22
  },
@@ -32,9 +32,10 @@
32
32
  "babel-loader": "^8.2.2",
33
33
  "node-watch": "^0.7.1",
34
34
  "nodemon": "^2.0.19",
35
- "prettier": "1.18.2",
35
+ "prettier": "^2.8.8",
36
36
  "tape": "^5.2.2",
37
37
  "typescript": "^5.0.3",
38
+ "@typescript-eslint/eslint-plugin": "^5.60.0",
38
39
  "webpack": "^5.76.0",
39
40
  "webpack-cli": "^4.9.2",
40
41
  "webpack-node-externals": "^3.0.0",