package.json 3.44 KB
Newer Older
roberto's avatar
roberto committed
1
{
2 3
  "name": "brainbox",
  "version": "0.1.0",
roberto's avatar
roberto committed
4 5
  "private": true,
  "scripts": {
6
    "start": "PORT=3001 node ./bin/www",
r03ert0's avatar
r03ert0 committed
7 8 9 10
    "build-atlasmaker": "webpack --mode production --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js",
    "build-atlasmaker-tools": "webpack --mode production --config webpack.atlasmaker-tools.config.js && cp  -r view/atlasmaker/dist/atlasmaker-tools public/lib/",
    "build-brainbox": "webpack --mode production --config webpack.brainbox.config.js && cp view/brainbox/dist/brainbox.js public/lib/brainbox.js",
    "build-pages": "webpack --mode production --config webpack.pages.config.js && cp view/brainbox/dist/*-page.js public/js/",
Roberto Toro's avatar
Roberto Toro committed
11
    "build": "npm run build-atlasmaker && npm run build-atlasmaker-tools && npm run build-brainbox && npm run build-pages",
r03ert0's avatar
r03ert0 committed
12 13 14 15 16
    "dev-atlasmaker": "webpack --mode development --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js",
    "dev-atlasmaker-tools": "webpack --mode development --config webpack.atlasmaker-tools.config.js && cp  -r view/atlasmaker/dist/atlasmaker-tools public/lib/",
    "dev-brainbox": "webpack --mode development --config webpack.brainbox.config.js && cp view/brainbox/dist/brainbox.js public/lib/brainbox.js",
    "dev-pages": "webpack --mode development --config webpack.pages.config.js && cp view/brainbox/dist/*-page.js public/js/",
    "dev": "npm run dev-atlasmaker && npm run dev-atlasmaker-tools && npm run dev-brainbox && npm run dev-pages",
Roberto Toro's avatar
Roberto Toro committed
17
    "mocha-test": "mocha ./test/runner.js test/unit/*.js test/integration/*.js",
Danilo Resende's avatar
Danilo Resende committed
18
    "lint": "eslint .",
iain8's avatar
iain8 committed
19
    "test": "docker exec brainbox_web_1 /bin/bash -c 'cd /brainbox && npm run mocha-test'"
roberto's avatar
roberto committed
20 21 22
  },
  "dependencies": {
    "async": "^2.0.1",
Roberto Toro's avatar
Roberto Toro committed
23
    "body-parser": "~1.18.2",
r03ert0's avatar
r03ert0 committed
24
    "compression": "^1.7.4",
Roberto Toro's avatar
Roberto Toro committed
25 26 27 28
    "cookie-parser": "~1.4.3",
    "crypto": "1.0.1",
    "dateformat": "^3.0.3",
    "debug": "~3.1.0",
r03ert0's avatar
r03ert0 committed
29
    "dompurify": "^2.0.7",
Roberto Toro's avatar
Roberto Toro committed
30
    "express": "~4.16.3",
r03ert0's avatar
r03ert0 committed
31
    "express-session": "^1.15.6",
Roberto Toro's avatar
Roberto Toro committed
32
    "express-validator": "^5.0.3",
Roberto Toro's avatar
Roberto Toro committed
33
    "fast-json-patch": "^2.0.7",
Roberto Toro's avatar
Roberto Toro committed
34
    "file-type": "^7.6.0",
35
    "fs": "0.0.1-security",
roberto's avatar
roberto committed
36
    "http": "0.0.0",
37
    "jdenticon": "^2.1.0",
Roberto Toro's avatar
Roberto Toro committed
38
    "jpeg-js": "^0.3.3",
r03ert0's avatar
r03ert0 committed
39
    "jquery": "^3.4.1",
Roberto Toro's avatar
Roberto Toro committed
40
    "jquery-ui": "^1.12.1",
Roberto Toro's avatar
Roberto Toro committed
41
    "jsdom": "^11.6.2",
roberto's avatar
roberto committed
42
    "keypress": "^0.2.1",
43
    "md5": "^2.2.1",
Roberto Toro's avatar
Roberto Toro committed
44
    "merge": ">=1.2.1",
r03ert0's avatar
r03ert0 committed
45
    "mongodb": "^3.3.4",
Roberto Toro's avatar
Roberto Toro committed
46
    "morgan": "^1.9.1",
47
    "multer": "^1.2.0",
roberto's avatar
roberto committed
48
    "mustache-express": "^1.2.2",
r03ert0's avatar
r03ert0 committed
49
    "pako": "^1.0.10",
Roberto Toro's avatar
Roberto Toro committed
50
    "passport": "^0.4.0",
roberto's avatar
roberto committed
51 52
    "passport-github": "^1.1.0",
    "passport-local": "^1.0.0",
r03ert0's avatar
r03ert0 committed
53
    "request": "^2.83.0",
Roberto Toro's avatar
Roberto Toro committed
54 55
    "serve-favicon": "~2.4.5",
    "struct": "0.0.12",
r03ert0's avatar
r03ert0 committed
56
    "structjs": "git+https://git@github.com/neuroanatomy/structjs.git",
r03ert0's avatar
r03ert0 committed
57
    "tracer": "^0.8.11",
roberto's avatar
roberto committed
58
    "url": "^0.11.0",
Roberto Toro's avatar
Roberto Toro committed
59
    "validator": "^9.4.1",
Jim Ulle's avatar
Jim Ulle committed
60
    "webpage": "^0.3.0",
Roberto Toro's avatar
Roberto Toro committed
61
    "ws": "^5.1.0"
62
  },
katjaq's avatar
katjaq committed
63
  "devDependencies": {
Roberto Toro's avatar
Roberto Toro committed
64
    "clean-webpack-plugin": "^0.1.19",
Roberto Toro's avatar
Roberto Toro committed
65
    "connect-livereload": "^0.6.0",
r03ert0's avatar
r03ert0 committed
66
    "copy-webpack-plugin": "^5.0.5",
Roberto Toro's avatar
Roberto Toro committed
67
    "css-loader": "^1.0.0",
Roberto Toro's avatar
Roberto Toro committed
68
    "del": "^3.0.0",
Danilo Resende's avatar
Danilo Resende committed
69
    "eslint": "^4.9.0",
Roberto Toro's avatar
Roberto Toro committed
70
    "file-loader": "^2.0.0",
Roberto Toro's avatar
Roberto Toro committed
71
    "html-loader": "^0.5.5",
Roberto Toro's avatar
Roberto Toro committed
72
    "html-webpack-plugin": "^3.2.0",
r03ert0's avatar
r03ert0 committed
73
    "livereload": "^0.8.2",
Roberto Toro's avatar
Roberto Toro committed
74
    "mocha": "^5.0.4",
r03ert0's avatar
r03ert0 committed
75 76 77 78
    "monk": "^7.1.1",
    "pixelmatch": "^4.0.2",
    "pngjs": "^3.4.0",
    "puppeteer": "^1.20.0",
Roberto Toro's avatar
Roberto Toro committed
79
    "style-loader": "^0.23.0",
r03ert0's avatar
r03ert0 committed
80
    "svg-inline-loader": "^0.8.0",
Roberto Toro's avatar
Roberto Toro committed
81
    "url-loader": "^1.1.1",
r03ert0's avatar
r03ert0 committed
82
    "webpack": "^4.41.2",
83
    "webpack-cli": "^3.1.2",
r03ert0's avatar
r03ert0 committed
84
    "webworkify-webpack": "^2.1.5"
roberto's avatar
roberto committed
85 86
  }
}