65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"name": "click-counter",
|
|
"version": "0.0.1",
|
|
"description": "Minimal API for counting clicks",
|
|
"repository": "https://github.com/status-im/clicks-counter",
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"async-redis": "^1.1.7",
|
|
"koa": "^2.13.0",
|
|
"koa-json": "^2.0.2",
|
|
"koa-logger": "^3.2.1",
|
|
"koa-router": "^9.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.1",
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/node": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.1",
|
|
"gulp": "^4.0.2",
|
|
"gulp-babel": "^8.0.0",
|
|
"gulp-clean": "^0.4.0",
|
|
"gulp-nodemon": "^2.5.0",
|
|
"gulp-print": "^5.0.2",
|
|
"jest": "^26.6.1",
|
|
"nodemon": "^2.0.6",
|
|
"sinon": "^9.2.0",
|
|
"supertest": "^3.3.0"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"testw": "jest --watchAll",
|
|
"devel": "gulp devel",
|
|
"clean": "gulp clean",
|
|
"build": "gulp build",
|
|
"image": "docker build -t statusteam/clicks-counter .",
|
|
"push": "docker push statusteam/clicks-counter"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json"
|
|
],
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js",
|
|
"!**/node_modules/**",
|
|
"!**/build/**",
|
|
"!**/coverage/**"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"text-summary"
|
|
],
|
|
"testRegex": "/test/.*.js$",
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/build/",
|
|
"/coverage/"
|
|
]
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC"
|
|
}
|