63 строки
1.8 KiB
JSON
63 строки
1.8 KiB
JSON
{
|
|
"name": "firefox-health-backend",
|
|
"version": "0.0.1",
|
|
"description": "Firefox Health backend",
|
|
"main": "build/index.js",
|
|
"scripts": {
|
|
"test:src": "mocha",
|
|
"test:lint": "eslint --cache --format codeframe --ext mjs,jsx,js src test",
|
|
"coverage": "nyc yarn test:src && nyc report --reporter=text-lcov | coveralls",
|
|
"test": "npm-run-all --parallel test:*",
|
|
"watch": "mocha test --watch",
|
|
"build": "webpack --mode production",
|
|
"start": "webpack --watch --mode development",
|
|
"start:prod": "yarn build && node .",
|
|
"start:debugger": "yarn build && node --inspect .",
|
|
"precommit": "lint-staged",
|
|
"heroku-postbuild": "yarn build",
|
|
"fetchNimbledroidData": "yarn build && node build/nimbledroid.js"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"yarn test:lint"
|
|
]
|
|
},
|
|
"author": "Harald Kirschner <npm@digitarald.com> (http://digitarald.de/)",
|
|
"license": "MPL-2.0",
|
|
"dependencies": {
|
|
"async-redis": "^1.1.4",
|
|
"debug": "^4.1.1",
|
|
"isomorphic-fetch": "^2.2.1",
|
|
"koa": "^2.3.0",
|
|
"koa-compress": "^3.0.0",
|
|
"koa-cors": "0.0.16",
|
|
"koa-logger": "^2.0.1",
|
|
"koa-response-time": "^2.0.0",
|
|
"koa-router": "^7.2.1",
|
|
"moment": "^2.19.3",
|
|
"qs": "^6.5.0",
|
|
"query-string": "^5.0.1",
|
|
"simple-statistics": "^5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@neutrinojs/airbnb-base": "9.0.0-rc.3",
|
|
"@neutrinojs/mocha": "9.0.0-rc.3",
|
|
"@neutrinojs/node": "9.0.0-rc.3",
|
|
"coveralls": "^3.0.0",
|
|
"eslint": "^5",
|
|
"fetch-mock": "^6.5.0",
|
|
"husky": "^0.14.3",
|
|
"lint-staged": "^7.0.5",
|
|
"mocha": "^6.0.0",
|
|
"mocha-lcov-reporter": "^1.3.0",
|
|
"neutrino": "9.0.0-rc.3",
|
|
"npm-run-all": "^4.1.3",
|
|
"nyc": "^11.1.0",
|
|
"source-map-support": "^0.5.3",
|
|
"supertest": "^3.0.0",
|
|
"webpack": "^4",
|
|
"webpack-cli": "^3",
|
|
"webpack-dev-server": "^3"
|
|
}
|
|
}
|