Skip to content

Commit 9023d8a

Browse files
committed
Chore: improve build script
1 parent a9e8337 commit 9023d8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Please use GitHub's Issues/PRs.
3434
- `npm run build` builds the app into `/dist` directory.
3535
- `npm run clean` removes `/dist` directory.
3636
- `npm run deploy` builds the app, then updates `gh-pages` branch, then pushes it to GitHub.
37+
- `npm run update-deps` installs the latest `eslint`, `eslint-plugin-vue`, and `vue-eslint-parser`.
3738
- `npm run watch` runs the app with `webpack-dev-server`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
},
3939
"scripts": {
4040
"build": "cross-env NODE_ENV=production run-s clean build:* -s",
41-
"build:update-deps": "npm install eslint@latest eslint-plugin-vue@next vue-eslint-parser@experimental",
4241
"build:html": "appcache-manifest-fixer src/index.html -o dist/index.html",
4342
"build:js": "webpack --progress --hide-modules",
4443
"build:monaco": "node scripts/copy-monaco",
@@ -48,6 +47,7 @@
4847
"deploy": "node scripts/deploy",
4948
"preversion": "npm run build",
5049
"postversion": "git push && git push --tags && npm run deploy",
50+
"update-deps": "npm install eslint@latest eslint-plugin-vue@next vue-eslint-parser@experimental",
5151
"watch": "cross-env NODE_ENV=development run-p watch:* -s",
5252
"watch:html": "cpx src/index.html dist --watch",
5353
"watch:js": "webpack-dev-server --open --hot",

0 commit comments

Comments
 (0)