-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
36 lines (36 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "wiremock-docs",
"version": "3.8.0",
"description": "WireMock documentation processor",
"engines": {
"node": ">= 0.10.0"
},
"devDependencies": {
"autoprefixer": "^6.3.5",
"node-sass": "^8.0.0",
"npm-run-all": "^1.7.0",
"onchange": "^6.1.0",
"postcss-cli": "^6.1.3",
"redoc": "2.1.5",
"shx": "0.2.2",
"swagger-ui-dist": "3.48.0",
"@redocly/cli": "^1.17.1",
"to": "^0.2.9",
"uglify-js": "^2.6.1"
},
"scripts": {
"scss": "node-sass --output-style compressed -o assets/css assets/_scss",
"autoprefixer": "postcss -u autoprefixer -b \">, 5%, ie 9\" -r assets/css/*",
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.1.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/plugins/jquery-ui.min.js assets/js/plugins/stickyfill.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"watch:css": "onchange \"assets/_scss/**/*.scss\" -- npm run build:css",
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
"watch:all": "npm-run-all --parallel watch:css watch:js",
"serve": "npm run apidocs && npm run watch:all",
"build:css": "npm run scss && npm run autoprefixer",
"build:js": "npm run uglify",
"build:all": "npm run build:css && npm run build:js",
"openapijson": "redocly bundle --ext json swagger/wiremock-admin-api.yaml > assets/js/wiremock-admin-api.json",
"redoc": "shx cp node_modules/redoc/bundles/redoc.standalone.js assets/js",
"apidocs": "npm-run-all openapijson redoc"
}
}