Skip to content

Commit

Permalink
feat: update ts scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 committed Apr 4, 2018
1 parent 3c47abb commit fa98e69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions hackernews-async-ts/.autod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
18 changes: 9 additions & 9 deletions hackernews-async-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit fa98e69

Please sign in to comment.