2017-05-24 22:16:38 +02:00
|
|
|
{
|
|
|
|
"name": "portal-alpha",
|
2017-06-02 22:18:33 +02:00
|
|
|
"description": "P2P File Sharing Experiment",
|
2017-05-30 18:24:16 +02:00
|
|
|
"version": "1.0.0",
|
2017-06-02 22:18:33 +02:00
|
|
|
"author": "Mozilla (https://mozilla.org)",
|
2017-05-24 22:16:38 +02:00
|
|
|
"dependencies": {
|
2017-06-06 00:35:36 +02:00
|
|
|
"aws-sdk": "^2.62.0",
|
2017-05-31 23:08:13 +02:00
|
|
|
"body-parser": "^1.17.2",
|
2017-06-08 01:16:38 +02:00
|
|
|
"bytes": "^2.5.0",
|
2017-05-30 18:24:16 +02:00
|
|
|
"connect-busboy": "0.0.2",
|
2017-06-06 00:35:36 +02:00
|
|
|
"convict": "^3.0.0",
|
2017-06-22 23:42:23 +02:00
|
|
|
"cross-env": "^5.0.1",
|
2017-05-24 22:16:38 +02:00
|
|
|
"express": "^4.15.3",
|
2017-06-08 01:16:38 +02:00
|
|
|
"express-handlebars": "^3.0.0",
|
2017-06-20 00:51:48 +02:00
|
|
|
"helmet": "^3.6.1",
|
2017-06-08 22:45:28 +02:00
|
|
|
"jquery": "^3.2.1",
|
|
|
|
"mozlog": "^2.1.1",
|
2017-06-23 19:53:11 +02:00
|
|
|
"raven": "^2.1.0",
|
2017-06-22 23:50:57 +02:00
|
|
|
"raven-js": "^3.16.0",
|
2017-06-22 20:37:31 +02:00
|
|
|
"redis": "^2.7.1",
|
|
|
|
"uglify-es": "3.0.19"
|
2017-06-02 00:10:00 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"browserify": "^14.4.0",
|
2017-06-20 21:18:14 +02:00
|
|
|
"eslint": "^4.0.0",
|
|
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
|
|
"eslint-plugin-node": "^5.0.0",
|
|
|
|
"eslint-plugin-security": "^1.4.0",
|
2017-06-20 19:21:11 +02:00
|
|
|
"mocha": "^3.4.2",
|
2017-06-20 21:18:14 +02:00
|
|
|
"npm-run-all": "^4.0.2",
|
|
|
|
"prettier": "^1.4.4",
|
2017-06-20 19:21:11 +02:00
|
|
|
"proxyquire": "^1.8.0",
|
|
|
|
"sinon": "^2.3.5",
|
2017-06-20 21:18:14 +02:00
|
|
|
"stylelint": "^7.11.0",
|
|
|
|
"stylelint-config-standard": "^16.0.0",
|
2017-06-02 00:10:00 +02:00
|
|
|
"watchify": "^3.9.0"
|
2017-06-02 22:18:33 +02:00
|
|
|
},
|
2017-06-07 20:26:40 +02:00
|
|
|
"engines": {
|
|
|
|
"node": ">=8.0.0"
|
|
|
|
},
|
2017-06-02 22:18:33 +02:00
|
|
|
"license": "MPL-2.0",
|
|
|
|
"repository": "mozilla/something-awesome",
|
|
|
|
"scripts": {
|
2017-06-22 20:37:31 +02:00
|
|
|
"bundle": "browserify frontend/src/main.js | uglifyjs > public/bundle.js",
|
|
|
|
"dev": "watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server",
|
2017-06-20 21:18:14 +02:00
|
|
|
"format": "prettier 'frontend/src/*.js' 'public/*.css' 'server/*.js' 'test/*.js' --single-quote --write",
|
2017-06-09 19:49:53 +02:00
|
|
|
"lint": "npm-run-all lint:*",
|
|
|
|
"lint:css": "stylelint 'public/*.css'",
|
|
|
|
"lint:js": "eslint .",
|
2017-06-22 20:37:31 +02:00
|
|
|
"prestart": "npm run bundle",
|
|
|
|
"start": "cross-env NODE_ENV=production node server/portal_server",
|
2017-06-10 01:31:34 +02:00
|
|
|
"test": "mocha"
|
2017-05-24 22:16:38 +02:00
|
|
|
}
|
|
|
|
}
|