56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "portal-alpha",
|
|
"description": "File Sharing Experiment",
|
|
"version": "0.1.1",
|
|
"author": "Mozilla (https://mozilla.org)",
|
|
"dependencies": {
|
|
"aws-sdk": "^2.62.0",
|
|
"body-parser": "^1.17.2",
|
|
"bytes": "^2.5.0",
|
|
"connect-busboy": "0.0.2",
|
|
"convict": "^3.0.0",
|
|
"cross-env": "^5.0.1",
|
|
"express": "^4.15.3",
|
|
"express-handlebars": "^3.0.0",
|
|
"helmet": "^3.6.1",
|
|
"jquery": "^3.2.1",
|
|
"mozlog": "^2.1.1",
|
|
"raven": "^2.1.0",
|
|
"raven-js": "^3.16.0",
|
|
"redis": "^2.7.1",
|
|
"uglify-es": "3.0.19"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^14.4.0",
|
|
"eslint": "^4.0.0",
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
"eslint-plugin-node": "^5.0.0",
|
|
"eslint-plugin-security": "^1.4.0",
|
|
"git-rev-sync": "^1.9.1",
|
|
"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"
|
|
},
|
|
"homepage": "https://github.com/mozilla/something-awesome/",
|
|
"license": "MPL-2.0",
|
|
"repository": "mozilla/something-awesome",
|
|
"scripts": {
|
|
"predocker": "browserify frontend/src/main.js | uglifyjs > public/bundle.js && npm run version",
|
|
"dev": "npm run version && watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server",
|
|
"format": "prettier '{frontend/src/,scripts/,server/,test/}*.js' 'public/*.css' --single-quote --write",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:css": "stylelint 'public/*.css'",
|
|
"lint:js": "eslint .",
|
|
"start": "node server/portal_server",
|
|
"test": "mocha",
|
|
"version": "node scripts/version"
|
|
}
|
|
}
|