Skip to content
Snippets Groups Projects
This project manages its dependencies using npm. Learn more
package.json 4.15 KiB
{
  "name": "mol-star-proto",
  "version": "0.1.0",
  "description": "Comprehensive molecular library.",
  "homepage": "https://github.com/mol-star/mol-star-proto#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/mol-star/mol-star-proto.git"
  },
  "bugs": {
    "url": "https://github.com/mol-star/mol-star-proto/issues"
  },
  "scripts": {
    "lint": "tslint src/**/*.ts",
    "test": "npm run lint && jest",
    "build": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html,gql}\" build/src/ && tsc -b",
    "postinstall": "npm run build",
    "watch": "concurrently --kill-others \"npm:watch-ts\" \"npm:watch-extra\" \"npm:watch-webpack\"",
    "watch-ts": "tsc -watch",
    "watch-extra": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html,gql}\" build/src/ --watch",
    "build-webpack": "webpack --mode production",
    "watch-webpack": "webpack -w --mode development",
    "model-server": "node build/src/servers/model/server.js",
    "model-server-watch": "nodemon --watch build/src build/src/servers/model/server.js"
  },
  "nodemonConfig": {
    "ignoreRoot": [
      "./node_modules",
      ".git"
    ],
    "ignore": [],
    "delay": "2500"
  },
  "jest": {
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      "\\.ts$": "ts-jest",
      "\\.(glsl|frag|vert)$": "jest-raw-loader"
    },
    "moduleDirectories": [
      "node_modules",
      "build/src"
    ],
    "testURL": "http://localhost/",
    "moduleNameMapper": {
      "mol-app($|/.*)": "<rootDir>/src/mol-app$1",
      "mol-data($|/.*)": "<rootDir>/src/mol-data$1",
      "mol-geo($|/.*)": "<rootDir>/src/mol-geo$1",
      "mol-gl($|/.*)": "<rootDir>/src/mol-gl$1",
      "mol-io($|/.*)": "<rootDir>/src/mol-io$1",
      "mol-math($|/.*)": "<rootDir>/src/mol-math$1",
      "mol-model($|/.*)": "<rootDir>/src/mol-model$1",
      "mol-model-props($|/.*)": "<rootDir>/src/mol-model-props$1",
      "mol-model-formats($|/.*)": "<rootDir>/src/mol-model-formats$1",
      "mol-plugin($|/.*)": "<rootDir>/src/mol-plugin$1",
      "mol-ql($|/.*)": "<rootDir>/src/mol-ql$1",
      "mol-repr($|/.*)": "<rootDir>/src/mol-repr$1",
      "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
      "mol-state($|/.*)": "<rootDir>/src/mol-state$1",
      "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
      "mol-theme($|/.*)": "<rootDir>/src/mol-theme$1",
      "mol-util($|/.*)": "<rootDir>/src/mol-util$1",
      "mol-canvas3d($|/.*)": "<rootDir>/src/mol-canvas3d$1"
    },
    "testRegex": "\\.spec\\.ts$"
  },
  "glslify": {
    "transform": [
      "glslify-import"
    ]
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "@types/argparse": "^1.0.36",
    "@types/benchmark": "^1.0.31",
    "@types/compression": "0.0.36",
    "@types/express": "^4.16.1",
    "@types/jest": "^24.0.9",
    "@types/node": "^11.9.6",
    "@types/node-fetch": "^2.1.6",
    "@types/react": "^16.8.6",
    "@types/react-dom": "^16.8.2",
    "@types/webgl2": "0.0.4",
    "@types/swagger-ui-dist": "3.0.0",
    "benchmark": "^2.1.4",
    "circular-dependency-plugin": "^5.0.2",
    "concurrently": "^4.1.0",
    "cpx": "^1.5.0",
    "css-loader": "^2.1.0",
    "extra-watch-webpack-plugin": "^1.0.3",
    "file-loader": "^3.0.1",
    "glslify": "^7.0.0",
    "glslify-import": "^3.1.0",
    "glslify-loader": "^2.0.0",
    "graphql-code-generator": "^0.18.0",
    "graphql-codegen-time": "^0.18.0",
    "graphql-codegen-typescript-template": "^0.18.0",
    "jest": "^24.1.0",
    "jest-raw-loader": "^1.0.1",
    "mini-css-extract-plugin": "^0.5.0",
    "node-sass": "^4.11.0",
    "raw-loader": "^1.0.0",
    "resolve-url-loader": "^3.0.1",
    "sass-loader": "^7.1.0",
    "style-loader": "^0.23.1",
    "ts-jest": "^24.0.0",
    "tslint": "^5.13.1",
    "typescript": "^3.3.3",
    "uglify-js": "^3.4.9",
    "util.promisify": "^1.0.0",
    "webpack": "^4.29.6",
    "webpack-cli": "^3.2.3"
  },
  "dependencies": {
    "argparse": "^1.0.10",
    "compression": "^1.7.3",
    "express": "^4.16.4",
    "graphql": "^14.1.1",
    "immutable": "^3.8.2",
    "node-fetch": "^2.3.0",
    "react": "^16.8.3",
    "react-dom": "^16.8.3",
    "rxjs": "^6.4.0",
    "swagger-ui-dist": "^3.20.9"
  }
}