Skip to content

Commit

Permalink
chore: setup providers and commands instructions inside package file
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 26, 2019
1 parent 471b44d commit f5e7fbd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions commands/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* @adonisjs/lucid
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

export default [
'@adonisjs/lucid/build/MakeMigration',
'@adonisjs/lucid/build/Migrate',
'@adonisjs/lucid/build/Rollback',
'@adonisjs/lucid/build/Status',
]
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@
"DB_PASSWORD": "lucid",
"DB_NAME": "lucid"
},
"types": "@adonisjs/lucid"
"types": "@adonisjs/lucid",
"providers": ["@adonisjs/lucid"],
"commands": ["@adonisjs/lucid/build/commands"]
},
"np": {
"contents": ".",
Expand Down

0 comments on commit f5e7fbd

Please sign in to comment.