Skip to content

Commit e0b3943

Browse files
committed
chore(npm): add gitbook build to npm test
1 parent 828da94 commit e0b3943

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
"test": "test"
1919
},
2020
"scripts": {
21-
"prestart": "gitbook install",
21+
"prepublish": "gitbook install",
2222
"start": "gitbook serve",
23+
"build": "gitbook build",
2324
"eslint": "eslint src/**/*.js",
2425
"eslint:md": "eslint --ext .md ja/**/*.md",
2526
"textlint": "summary-to-path | xargs textlint --rule spellcheck-tech-word",
26-
"test": "npm run textlint && npm run eslint:md && npm run eslint"
27+
"test": "npm run textlint && npm run eslint:md && npm run eslint && npm run build"
2728
},
2829
"keywords": [
2930
"plugin",

0 commit comments

Comments
 (0)