Skip to content
Snippets Groups Projects
This project manages its dependencies using npm. Learn more
package.json 4.48 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",
    "build": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html,gql}\" build/node_modules/ && tsc",
    "watch": "tsc -watch",
    "watch-extra": "cpx \"src/**/*.{vert,frag,glsl,scss,woff,woff2,ttf,otf,eot,svg,html,gql}\" build/node_modules/ --watch",
    "watch-all-win": "start cmd /K npm run watch & start cmd /K npm run watch-extra & start cmd /K npm run watch-viewer & start http-server -p 1338",
    "test": "jest",
    "build-viewer": "webpack build/node_modules/apps/viewer/index.js --mode development -o build/viewer/index.js",
    "watch-viewer": "webpack build/node_modules/apps/viewer/index.js -w --mode development -o build/viewer/index.js",
    "build-canvas": "webpack build/node_modules/apps/canvas/index.js --mode development -o build/canvas/index.js",
    "watch-canvas": "webpack build/node_modules/apps/canvas/index.js -w --mode development -o build/canvas/index.js",
    "build-ms-query": "webpack build/node_modules/apps/model-server-query/index.js --mode development -o build/model-server-query/index.js",
    "watch-ms-query": "webpack build/node_modules/apps/model-server-query/index.js -w --mode development -o build/model-server-query/index.js",
    "model-server": "node build/node_modules/servers/model/server.js",
    "model-server-watch": "nodemon --watch build/node_modules build/node_modules/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/node_modules"
    ],
    "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-ql($|/.*)": "<rootDir>/src/mol-ql$1",
      "mol-script($|/.*)": "<rootDir>/src/mol-script$1",
      "mol-task($|/.*)": "<rootDir>/src/mol-task$1",
      "mol-state($|/.*)": "<rootDir>/src/mol-state$1",
      "mol-plugin($|/.*)": "<rootDir>/src/mol-plugin$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.35",
    "@types/benchmark": "^1.0.31",
    "@types/compression": "0.0.36",
    "@types/express": "^4.16.0",
    "@types/jest": "^23.3.9",
    "@types/node": "^10.12.1",
    "@types/node-fetch": "^2.1.2",
    "@types/react": "^16.4.18",
    "@types/react-dom": "^16.0.9",
    "@types/webgl2": "0.0.4",
    "benchmark": "^2.1.4",
    "cpx": "^1.5.0",
    "css-loader": "^1.0.1",
    "extra-watch-webpack-plugin": "^1.0.3",
    "file-loader": "^2.0.0",
    "glslify-import": "^3.1.0",
    "glslify-loader": "^1.0.2",
    "graphql-code-generator": "^0.13.0",
    "graphql-codegen-typescript-template": "^0.13.0",
    "jest": "^23.6.0",
    "jest-raw-loader": "^1.0.1",
    "mini-css-extract-plugin": "^0.4.4",
    "node-sass": "^4.9.4",
    "raw-loader": "^0.5.1",
    "resolve-url-loader": "^3.0.0",
    "sass-loader": "^7.1.0",
    "style-loader": "^0.23.1",
    "ts-jest": "^23.10.4",
    "tslint": "^5.11.0",
    "typescript": "^3.1.4",
    "uglify-js": "^3.4.9",
    "util.promisify": "^1.0.0",
    "webpack": "^4.23.1",
    "webpack-cli": "^3.1.2"
  },
  "dependencies": {
    "argparse": "^1.0.10",
    "compression": "^1.7.3",
    "express": "^4.16.4",
    "graphql": "^14.0.2",
    "graphql-request": "^1.8.2",
    "immutable": "^3.8.2",
    "node-fetch": "^2.2.0",
    "react": "^16.6.0",
    "react-dom": "^16.6.0",
    "rxjs": "^6.3.3"
  }
}