diff --git a/hackernews-async-ts/.autod.conf.js b/hackernews-async-ts/.autod.conf.js index 96fdfa1..44bb3fb 100644 --- a/hackernews-async-ts/.autod.conf.js +++ b/hackernews-async-ts/.autod.conf.js @@ -7,23 +7,23 @@ module.exports = { devprefix: '^', exclude: [ 'test/fixtures', + 'coverage', ], dep: [ 'egg', 'egg-scripts', 'egg-view-nunjucks', 'moment', - 'source-map-support', ], devdep: [ 'autod', 'autod-egg', 'egg-bin', - ], - keep: [ 'tslib', 'typescript', ], + keep: [ + ], semver: [ ], test: 'scripts', diff --git a/hackernews-async-ts/package.json b/hackernews-async-ts/package.json index 4e18739..62b092d 100644 --- a/hackernews-async-ts/package.json +++ b/hackernews-async-ts/package.json @@ -9,21 +9,21 @@ "scripts": { "start": "egg-scripts start", "dev": "egg-bin dev -r egg-ts-helper/register", - "tsc": "ets && tsc -p tsconfig.json", - "clean": "ets clean", - "test": "npm run lint -- --fix && npm run test-local", + "debug": "egg-bin debug -r egg-ts-helper/register", "test-local": "egg-bin test -r egg-ts-helper/register", + "test": "npm run lint -- --fix && npm run test-local", "cov": "egg-bin cov", + "tsc": "ets && tsc -p tsconfig.json", + "ci": "npm run lint && npm run tsc && egg-bin cov --no-ts", + "autod": "autod", "lint": "tslint .", - "ci": "npm run lint && npm run tsc && npm run cov --no-ts", - "debug": "egg-bin debug", - "autod": "autod" + "clean": "ets clean" }, "dependencies": { "egg": "^2.6.0", - "egg-scripts": "^2.5.1", + "egg-scripts": "^2.6.0", "egg-view-nunjucks": "^2.2.0", - "moment": "^2.21.0" + "moment": "^2.22.0" }, "devDependencies": { "@types/cheerio": "^0.22.1", @@ -33,7 +33,7 @@ "autod": "^3.0.1", "autod-egg": "^1.1.0", "cheerio": "^1.0.0-rc.2", - "egg-bin": "^4.6.0", + "egg-bin": "^4.6.2", "egg-mock": "^3.16.0", "egg-ts-helper": "^1.4.2", "rimraf": "^2.6.1",