-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
75 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,12 @@ | ||
coverage.html | ||
*.seed | ||
*.log | ||
*.csv | ||
*.dat | ||
*.out | ||
*.pid | ||
*.gz | ||
|
||
pids | ||
logs | ||
results | ||
|
||
dist | ||
node_modules | ||
coverage | ||
*.log | ||
npm-debug.log | ||
coverage/ | ||
*-test/ | ||
boilerplate-*/app/proxy* | ||
boilerplate-*/assembly | ||
boilerplate-*/node_modules | ||
boilerplate-*/spm_modules | ||
boilerplate-*/uiweb | ||
boilerplate-*/run | ||
boilerplate-*/logs | ||
boilerplate-*/dist | ||
.logs | ||
logs | ||
*.swp | ||
run | ||
*-run | ||
.idea | ||
.DS_Store | ||
tmp | ||
|
||
.idea/ | ||
.tmp |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "eslint-config-egg", | ||
"rules": { | ||
"no-unused-vars": "off" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# {{name}} | ||
|
||
{{description}} | ||
|
||
## QuickStart | ||
|
||
### Development | ||
```shell | ||
$ npm install | ||
$ npm run dev | ||
$ open http://localhost:7001/news | ||
``` | ||
|
||
### Deploy | ||
|
||
Use `EGG_SERVER_ENV=prod` to enable prod mode | ||
|
||
```shell | ||
$ EGG_SERVER_ENV=prod npm start | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "{{name}}", | ||
"version": "1.0.0", | ||
"description": "{{description}}", | ||
"private": true, | ||
"author": "{{author}}", | ||
"license": "MIT" | ||
} |
3 changes: 3 additions & 0 deletions
3
test/fixtures/simple-test/boilerplate/config/config.default.js
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict'; | ||
|
||
exports.project = '{{name}}'; |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
logs/ | ||
npm-debug.log | ||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
name: { | ||
desc: 'project name', | ||
}, | ||
description: { | ||
desc: 'project description', | ||
}, | ||
author: { | ||
desc: 'project author', | ||
default: 'TZ', | ||
}, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "egg-boilerplate-simple-test", | ||
"version": "1.0.0", | ||
"description": "boilerplate for egg-init test fixtures", | ||
"homepage": "https://github.com/eggjs/egg-init.git", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:eggjs/egg-init.git" | ||
} | ||
} |