2018-01-15 13:56:08 +03:00
|
|
|
{
|
2018-02-08 02:29:41 +03:00
|
|
|
"name": "blurts-server",
|
|
|
|
"description": "Blurts backend Server",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"author": "Nihanth Subramanya",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mozilla/blurts-server/issues"
|
|
|
|
},
|
2018-01-15 13:56:08 +03:00
|
|
|
"dependencies": {
|
2018-05-15 23:15:06 +03:00
|
|
|
"arg": "^2.0.0",
|
2018-08-15 21:45:58 +03:00
|
|
|
"basic-auth": "^2.0.0",
|
2018-05-17 18:17:37 +03:00
|
|
|
"body-parser": "^1.18.3",
|
|
|
|
"client-oauth2": "^4.2.1",
|
2018-01-24 11:12:26 +03:00
|
|
|
"client-sessions": "^0.8.0",
|
2018-06-15 00:31:23 +03:00
|
|
|
"cpr": "^3.0.1",
|
2018-05-31 22:54:26 +03:00
|
|
|
"dompurify": "^1.0.4",
|
2018-03-05 16:53:53 +03:00
|
|
|
"dotenv": "^5.0.1",
|
2018-01-15 13:56:08 +03:00
|
|
|
"express": "^4.16.2",
|
2018-03-14 23:45:06 +03:00
|
|
|
"express-hbs": "^1.0.4",
|
2018-05-29 18:39:09 +03:00
|
|
|
"git-rev-sync": "^1.12.0",
|
2018-05-09 16:25:04 +03:00
|
|
|
"got": "^8.3.1",
|
2018-02-23 21:52:04 +03:00
|
|
|
"hbs": "^4.0.1",
|
2018-05-31 21:48:04 +03:00
|
|
|
"helmet": "^3.12.1",
|
2018-08-18 23:07:55 +03:00
|
|
|
"isemail": "^3.1.3",
|
2018-05-31 22:54:26 +03:00
|
|
|
"jsdom": "^11.11.0",
|
2018-04-18 17:08:07 +03:00
|
|
|
"knex": "^0.14.6",
|
2018-05-17 18:17:37 +03:00
|
|
|
"nodemailer": "^4.6.4",
|
2018-04-12 01:07:17 +03:00
|
|
|
"nodemailer-express-handlebars": "^3.0.0",
|
2018-05-30 15:38:49 +03:00
|
|
|
"pg": "^7.4.3",
|
|
|
|
"uuid": "^3.2.1"
|
2018-01-15 14:04:48 +03:00
|
|
|
},
|
2018-02-08 02:29:41 +03:00
|
|
|
"devDependencies": {
|
2018-05-17 18:17:37 +03:00
|
|
|
"coveralls": "^3.0.1",
|
2018-03-05 16:53:53 +03:00
|
|
|
"eslint": "^4.18.1",
|
|
|
|
"eslint-plugin-node": "^6.0.1",
|
2018-08-07 19:03:38 +03:00
|
|
|
"faucet": "^0.0.1",
|
2018-02-27 09:20:43 +03:00
|
|
|
"htmllint-cli": "^0.0.6",
|
2018-08-17 18:37:43 +03:00
|
|
|
"jest": "^23.5.0",
|
2018-08-17 22:05:25 +03:00
|
|
|
"jest-tap-reporter": "^1.9.0",
|
2018-08-14 17:17:09 +03:00
|
|
|
"node-mocks-http": "^1.7.0",
|
2018-05-17 18:17:37 +03:00
|
|
|
"npm-run-all": "^4.1.3",
|
2018-02-17 01:45:42 +03:00
|
|
|
"nsp": "^3.2.1",
|
2018-04-23 01:56:04 +03:00
|
|
|
"stylelint": "^9.2.0",
|
2018-08-17 22:05:25 +03:00
|
|
|
"stylelint-config-standard": "^18.2.0"
|
2018-02-09 11:15:01 +03:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8"
|
2018-01-15 14:04:48 +03:00
|
|
|
},
|
2018-05-29 18:39:09 +03:00
|
|
|
"homepage": "https://github.com/mozilla/blurts-server",
|
2018-06-08 00:49:16 +03:00
|
|
|
"license": "MPL-2.0",
|
2018-01-15 14:04:48 +03:00
|
|
|
"main": "server.js",
|
2018-08-17 22:05:25 +03:00
|
|
|
"jest": {
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.js",
|
|
|
|
"!db/seeds/**.js",
|
|
|
|
"!db/migrations/**.js",
|
|
|
|
"!coverage/**/**.js",
|
|
|
|
"!public/**/**.js"
|
|
|
|
]
|
2018-02-09 05:32:39 +03:00
|
|
|
},
|
2018-02-08 02:29:41 +03:00
|
|
|
"private": true,
|
2018-01-15 14:04:48 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-02-01 23:50:21 +03:00
|
|
|
"url": "git+https://github.com/mozilla/blurts-server.git"
|
2018-01-15 14:04:48 +03:00
|
|
|
},
|
2018-02-08 02:29:41 +03:00
|
|
|
"scripts": {
|
2018-08-03 23:58:08 +03:00
|
|
|
"db:migrate": "knex migrate:latest --knexfile db/knexfile.js",
|
2018-05-29 19:01:36 +03:00
|
|
|
"docker:build": "docker build -t blurts-server .",
|
|
|
|
"docker:run": "docker run -p 6060:6060 blurts-server",
|
2018-02-17 01:45:42 +03:00
|
|
|
"lint": "npm-run-all lint:*",
|
|
|
|
"lint:js": "eslint .",
|
2018-04-23 04:11:53 +03:00
|
|
|
"lint:css": "stylelint --fix 'public/css/**/*.css'",
|
2018-02-17 01:45:42 +03:00
|
|
|
"lint:nsp": "nsp check",
|
|
|
|
"pretest": "npm run lint",
|
2018-02-14 23:10:59 +03:00
|
|
|
"get-hashsets": "node scripts/get-hashsets",
|
2018-02-09 05:32:39 +03:00
|
|
|
"start": "node server.js",
|
2018-08-07 19:03:38 +03:00
|
|
|
"test:db:migrate": "knex migrate:latest --knexfile db/knexfile.js --env tests",
|
|
|
|
"test:db:seed": "knex seed:run --knexfile db/knexfile.js --env tests",
|
2018-08-18 17:44:30 +03:00
|
|
|
"test:tests": "NODE_ENV=tests jest --runInBand --coverage tests/",
|
2018-08-17 22:05:25 +03:00
|
|
|
"test:coveralls": "cat ./coverage/lcov.info | coveralls",
|
|
|
|
"test": "run-s test:db:migrate test:db:seed test:tests test:coveralls"
|
2018-02-08 02:29:41 +03:00
|
|
|
}
|
2018-01-15 13:56:08 +03:00
|
|
|
}
|