Skip to content
Snippets Groups Projects
This project manages its dependencies using npm. Learn more
package.json 3.34 KiB
{
  "name": "molstar",
  "version": "0.2.2",
  "description": "A comprehensive macromolecular library.",
  "homepage": "https://github.com/molstar/molstar#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/molstar/molstar.git"
  },
  "bugs": {
    "url": "https://github.com/molstar/molstar/issues"
  },
  "scripts": {
    "lint": "tslint src/**/*.ts",
    "test": "npm run lint && jest",
    "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
    "build-tsc": "tsc",
    "build-extra": "cpx \"src/**/*.{scss,woff,woff2,ttf,otf,eot,svg,html}\" lib/",
    "build-webpack": "webpack --mode production",
    "watch": "concurrently --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack\"",
    "watch-tsc": "tsc -watch",
    "watch-extra": "cpx \"src/**/*.{scss,woff,woff2,ttf,otf,eot,svg,html}\" lib/ --watch",
    "watch-webpack": "webpack -w --mode development --display minimal",
    "model-server": "node lib/servers/model/server.js",
    "model-server-watch": "nodemon --watch lib lib/servers/model/server.js",
    "preversion": "npm run test",
    "postversion": "git push && git push --tags",
    "prepublishOnly": "npm run test && npm run build"
  },
  "files": [
    "lib/"
  ],
  "nodemonConfig": {
    "ignoreRoot": [
      "./node_modules",
      ".git"
    ],
    "ignore": [],
    "delay": "2500"
  },
  "jest": {
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      "\\.ts$": "ts-jest"
    },
    "moduleDirectories": [
      "node_modules",
      "lib"
    ],
    "testURL": "http://localhost/",
    "testRegex": "\\.spec\\.ts$"
  },
  "author": "Mol* Contributors",
  "contributors": [
    "Alexander Rose <alexander.rose@weirdbyte.de>",
    "David Sehnal <david.sehnal@gmail.com>",
    "Sebastian Bittrich <sebastian.bittrich@rcsb.org>"
  ],
  "license": "MIT",
  "devDependencies": {
    "benchmark": "^2.1.4",
    "circular-dependency-plugin": "^5.0.2",
    "concurrently": "^4.1.0",
    "cpx": "^1.5.0",
    "css-loader": "^3.0.0",
    "extra-watch-webpack-plugin": "^1.0.3",
    "file-loader": "^4.0.0",