mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Ensure bin files are linted. Fix lint issue in bin/next-init. (#158)
This commit is contained in:
parent
a3548a6717
commit
b86f6a2d42
|
@ -50,7 +50,7 @@ const basePackage = `{
|
|||
}
|
||||
}`
|
||||
|
||||
const basePage =`
|
||||
const basePage = `
|
||||
import React from 'react'
|
||||
export default () => <p>Hello, world</p>
|
||||
`
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "gulp",
|
||||
"test": "standard && gulp test",
|
||||
"lint": "standard",
|
||||
"test": "npm run lint && gulp test",
|
||||
"lint": "standard && standard bin/*",
|
||||
"prepublish": "gulp release",
|
||||
"precommit": "npm run lint"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue