-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
111 lines (111 loc) · 4.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "brainbox",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "nodemon ./bin/www",
"debug": "node --inspect-brk ./bin/www",
"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/",
"build": "npm run build-atlasmaker && npm run build-atlasmaker-tools && npm run build-brainbox && npm run build-pages",
"dev-atlasmaker": "webpack --mode production --config webpack.atlasmaker.config.js && cp view/atlasmaker/dist/atlasmaker.js public/lib/atlasmaker.js",
"dev-atlasmaker-tools": "webpack --mode production --config webpack.atlasmaker-tools.config.js && cp -r view/atlasmaker/dist/atlasmaker-tools public/lib/",
"dev-brainbox": "webpack --mode production --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",
"test-unit": "cross-env MONGODB='127.0.0.1:27017/brainbox_test' nyc --report-dir test/unit/coverage mocha --timeout 5000 ./test/runner.js test/unit/*.js",
"test-integration": "cross-env MONGODB='127.0.0.1:27017/brainbox_test' LOCALSIGNIN=true nyc --report-dir test/integration/coverage mocha --timeout 5000 ./test/runner.js test/integration/*.js",
"mocha-test": "cross-env MONGODB='127.0.0.1:27017/brainbox_test' LOCALSIGNIN=true nyc mocha --timeout 5000 ./test/runner.js test/unit/*.js test/integration/*.js",
"lint": "eslint .",
"test": "docker exec brainbox_web_1 /bin/bash -c 'cd /brainbox && npm run mocha-test'",
"prepare": "husky install"
},
"dependencies": {
"async": "^3.2.2",
"async-lock": "^1.3.0",
"body-parser": "^1.20.1",
"chai-as-promised": "^7.1.1",
"compression": "^1.7.4",
"connect-mongo": "^4.4.1",
"cookie-parser": "^1.4.5",
"cross-env": "^7.0.3",
"crypto": "1.0.1",
"dateformat": "^3.0.3",
"debug": "~3.1.0",
"dompurify": "^2.0.17",
"express": "^4.19.2",
"express-session": "^1.17.1",
"express-validator": "^6.14.2",
"fast-json-patch": "^3.1.1",
"file-type": "^16.5.4",
"fs": "0.0.1-security",
"http": "0.0.0",
"jdenticon": "^2.2.0",
"jpeg-js": "^0.4.4",
"jquery": "^3.5.0",
"jquery-ui": "^1.13.2",
"jsdom": "^16.5.0",
"keypress": "^0.2.1",
"lodash": "^4.17.21",
"md5": "^2.2.1",
"merge": ">=2.1.1",
"mocha-sinon": "^2.1.2",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"mustache-express": "^1.3.0",
"neuroweblab": "github:neuroanatomy/neuroweblab",
"nwl-components": "^0.0.17",
"pako": "^1.0.11",
"passport": "^0.6.0",
"passport-github": "^1.1.0",
"passport-local": "^1.0.0",
"request": "^2.88.2",
"sanitize-filename": "^1.6.3",
"serve-favicon": "~2.4.5",
"sinon": "^11.1.1",
"struct": "0.0.12",
"structjs": "git+https://git@github.com/neuroanatomy/structjs.git",
"tracer": "^0.8.15",
"url": "^0.11.0",
"validator": "^13.7.0",
"vue": "^3.2.31",
"webpage": "^0.3.0",
"ws": "^6.2.2"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"clean-webpack-plugin": "^0.1.19",
"connect-livereload": "^0.6.1",
"css-loader": "^5.2.7",
"del": "^3.0.0",
"eslint": "^8.8.0",
"eslint-config-naat": "git+https://github.com/neuroanatomy/eslint-config-naat.git",
"file-loader": "^2.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^4.5.2",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"livereload": "^0.9.3",
"mocha": "^10.2.0",
"monk": "^7.2.0",
"node-mocks-http": "^1.12.1",
"nodemon": "^2.0.7",
"nyc": "^15.1.0",
"pixelmatch": "^4.0.2",
"pngjs": "^3.4.0",
"puppeteer": "^19.4.1",
"rimraf": "^3.0.2",
"style-loader": "^0.23.1",
"svg-inline-loader": "^0.8.2",
"url-loader": "^1.1.2",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webworkify-webpack": "^2.1.5"
},
"lint-staged": {
"*.js": "eslint --cache --fix"
}
}