Skip to content

Commit

Permalink
Add lint:fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
UrbaniakM committed Jun 18, 2020
1 parent 01193be commit 107056a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@

``` bash
# install dependencies
npm install
yarn install

# serve with hot reload at localhost:8080
npm run dev
yarn dev

# build for production with minification
npm run build
yarn build

# build for production and view the bundle analyzer report
npm run build --report
yarn build --report

# run unit tests
npm run unit
yarn unit

# run all tests
npm test
yarn test
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"private": true,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"start": "yarn dev",
"unit": "jest --config test/unit/jest.conf.js --coverage",
"test": "npm run unit",
"test": "yarn unit",
"lint": "eslint --ext .js,.vue src test/unit",
"lint:fix": "yarn lint --fix",
"build": "node build/build.js"
},
"dependencies": {
Expand Down

0 comments on commit 107056a

Please sign in to comment.