Skip to content

Commit ba0239a

Browse files
committed
Chore: update npm scripts
1 parent 5fbcfaf commit ba0239a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,6 @@ Please use GitHub's Issues/PRs.
118118
- `npm run coverage` shows the coverage result of `npm test` command with the default browser.
119119
- `npm run clean` removes the coverage result of `npm test` command.
120120
- `npm run lint` runs ESLint.
121+
- `npm run setup` setups submodules to develop.
122+
- `npm run update-fixtures` updates files in `test/fixtures/template-ast` directory based on `*.source.vue` files.
121123
- `npm run watch` runs tests with `--watch` option.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"preversion": "npm test",
2020
"setup": "git submodule update --init && cd test/fixtures/eslint && npm install",
2121
"test": "nyc npm run _mocha",
22+
"update-fixtures": "node test/tools/update-template-ast.js",
2223
"watch": "npm run _mocha -- --growl --watch",
2324
"codecov": "nyc report --reporter lcovonly && codecov"
2425
},

0 commit comments

Comments
 (0)