Skip to content

Commit 8386906

Browse files
committed
Update dev dependencies and switch to using run-all
1 parent 179878a commit 8386906

File tree

2 files changed

+901
-17
lines changed

2 files changed

+901
-17
lines changed

package.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
"version": "1.11.0",
44
"private": true,
55
"devDependencies": {
6-
"@redocly/cli": "^1.1.0",
6+
"@redocly/cli": "^1.3.0",
77
"copyfiles": "^2.4.1",
88
"http-server": "^14.1.1",
9-
"livereload": "^0.9.3"
9+
"livereload": "^0.9.3",
10+
"npm-run-all": "^4.1.5"
1011
},
1112
"scripts": {
1213
"preview": "redocly preview-docs",
13-
"build": "yarn bundle_json && yarn bundle_yaml",
14-
"bundle_json": "redocly bundle -o docs/pi_api --ext json",
15-
"bundle_yaml": "redocly bundle -o docs/pi_api --ext yaml",
14+
"build": "run-s -cln 'build:*'",
15+
"build:json": "redocly bundle -o docs/pi_api --ext json",
16+
"build:yaml": "redocly bundle -o docs/pi_api --ext yaml",
1617
"lint": "redocly lint",
17-
"reload": "livereload . -w 2000 -d -e html,css,js,png,gif,jpg,php,php5,py,rb,erb,coffee,yaml,json",
18-
"server": "http-server docs -c 1 -p 8000"
18+
"local": "run-p -cln 'local:*'",
19+
"local:reload": "livereload . -w 2000 -d -e html,css,js,png,gif,jpg,php,php5,py,rb,erb,coffee,yaml,json",
20+
"local:server": "http-server docs -c 1 -p 8000"
1921
}
2022
}

0 commit comments

Comments
 (0)