mirror of
https://github.com/molstar/molstar.git
synced 2026-06-04 13:30:24 +08:00
131 lines
4.6 KiB
JSON
131 lines
4.6 KiB
JSON
{
|
|
"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": "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/node_modules/ --watch",
|
|
"watch-all-win": "start cmd /K npm run watch-ts & start cmd /K npm run watch-extra & start cmd /K npm run watch-viewer & start http-server -p 1338",
|
|
"test": "jest",
|
|
"build-webpack": "webpack --mode development",
|
|
"watch-webpack": "webpack -w --mode development",
|
|
"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-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-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.35",
|
|
"@types/benchmark": "^1.0.31",
|
|
"@types/compression": "0.0.36",
|
|
"@types/express": "^4.16.0",
|
|
"@types/jest": "^23.3.12",
|
|
"@types/node": "^10.12.18",
|
|
"@types/node-fetch": "^2.1.4",
|
|
"@types/react": "^16.7.20",
|
|
"@types/react-dom": "^16.0.11",
|
|
"@types/webgl2": "0.0.4",
|
|
"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.15.2",
|
|
"graphql-codegen-typescript-template": "^0.15.2",
|
|
"jest": "^23.6.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.0",
|
|
"sass-loader": "^7.1.0",
|
|
"style-loader": "^0.23.1",
|
|
"ts-jest": "^23.10.5",
|
|
"tslint": "^5.12.1",
|
|
"typescript": "^3.2.4",
|
|
"uglify-js": "^3.4.9",
|
|
"util.promisify": "^1.0.0",
|
|
"webpack": "^4.28.4",
|
|
"webpack-cli": "^3.2.1"
|
|
},
|
|
"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.7.0",
|
|
"react-dom": "^16.7.0",
|
|
"rxjs": "^6.3.3"
|
|
}
|
|
}
|