1
0
Fork 0
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:
Tim Oxley 2016-10-31 11:39:55 -07:00 committed by Guillermo Rauch
parent a3548a6717
commit b86f6a2d42
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ const basePackage = `{
} }
}` }`
const basePage =` const basePage = `
import React from 'react' import React from 'react'
export default () => <p>Hello, world</p> export default () => <p>Hello, world</p>
` `

View file

@ -16,8 +16,8 @@
}, },
"scripts": { "scripts": {
"build": "gulp", "build": "gulp",
"test": "standard && gulp test", "test": "npm run lint && gulp test",
"lint": "standard", "lint": "standard && standard bin/*",
"prepublish": "gulp release", "prepublish": "gulp release",
"precommit": "npm run lint" "precommit": "npm run lint"
}, },