-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Fix a lot of test a lot of code added and some deleted
Remove dead code and debuging code. Refactor some code to mathc latest koaton. Enable serve test. All working locally.
- Loading branch information
1 parent
6a45baa
commit a9d3d93
Showing
51 changed files
with
94,336 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/usr/bin/env node | ||
process.env.NODE_ENV = process.argv.indexOf('-p') > -1 || process.argv.indexOf('--production') > -1 ? 'production' : 'development'; | ||
process.env.port = parseInt(process.argv[process.argv.indexOf('--port') + 1], 10) || 62626; | ||
require('babel-register')({ | ||
babelrc: false, | ||
plugins: [ | ||
'babel-plugin-transform-koaton-es6-modules', | ||
'babel-plugin-transform-koa2-async-to-generator' | ||
] | ||
}); | ||
require('./src'); | ||
// require('./lib'); | ||
// require('babel-register')({ | ||
// babelrc: false, | ||
// plugins: [ | ||
// 'babel-plugin-transform-koaton-es6-modules', | ||
// 'babel-plugin-transform-koa2-async-to-generator' | ||
// ] | ||
// }); | ||
// require('./src'); | ||
require('./lib'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import read from '../utils/.include_base'; | ||
|
||
import read from '../utils/importindex'; | ||
module.exports = read(__dirname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.