57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "portal-alpha",
|
|
"description": "P2P File Sharing Experiment",
|
|
"version": "1.0.0",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"dependencies": {
|
|
"aws-sdk": "^2.62.0",
|
|
"body-parser": "^1.17.2",
|
|
"bytes": "^2.5.0",
|
|
"color-convert": "^1.9.0",
|
|
"connect-busboy": "0.0.2",
|
|
"convict": "^3.0.0",
|
|
"express": "^4.15.3",
|
|
"express-handlebars": "^3.0.0",
|
|
"fs-extra": "^3.0.1",
|
|
"helmet": "^3.6.1",
|
|
"jquery": "^3.2.1",
|
|
"mozlog": "^2.1.1",
|
|
"node-fetch": "^1.7.1",
|
|
"path": "^0.12.7",
|
|
"redis": "^2.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^14.4.0",
|
|
"buffer-shims": "^1.0.0",
|
|
"cross-env": "^5.0.0",
|
|
"eslint": "^4.0.0",
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
"eslint-plugin-node": "^5.0.0",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"htmllint-cli": "^0.0.6",
|
|
"mocha": "^3.4.2",
|
|
"npm-run-all": "^4.0.2",
|
|
"prettier": "^1.4.4",
|
|
"proxyquire": "^1.8.0",
|
|
"sinon": "^2.3.5",
|
|
"stylelint": "^7.11.0",
|
|
"stylelint-config-standard": "^16.0.0",
|
|
"watchify": "^3.9.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0"
|
|
},
|
|
"license": "MPL-2.0",
|
|
"repository": "mozilla/something-awesome",
|
|
"scripts": {
|
|
"dev": "watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server.js",
|
|
"format": "prettier 'frontend/src/*.js' 'public/*.css' 'server/*.js' 'test/*.js' --single-quote --write",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:css": "stylelint 'public/*.css'",
|
|
"lint:html": "htmllint 'views/*.handlebars'",
|
|
"lint:js": "eslint .",
|
|
"start": "browserify frontend/src/main.js -o public/bundle.js -d | cross-env NODE_ENV=production node server/portal_server.js",
|
|
"test": "mocha"
|
|
}
|
|
}
|