-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
27 lines (27 loc) · 1.33 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
{
"name": "maquete",
"version": "0.0.1",
"description": "Maquete simple and beautiful api documentation",
"main": "index.js",
"scripts": {
"start": "npm run widget-build && cd app; npm run start",
"first-run": "cd widget; npm install && cd ../ && cd app; npm install",
"clean-widget-build": "npm run clean-js-widget-build && npm run clean-css-widget-build",
"clean-js-widget-build": "rm -rf ./app/themes/whiteboard/source/js/lib/index.js && rm -rf ./app/themes/whiteboard/source/js/lib/index.js.map",
"clean-css-widget-build": "rm -rf ./app/themes/whiteboard/source/css/index.css && rm -rf ./app/themes/whiteboard/source/css/index.css.map",
"move-files": "npm run move-js-files && npm run move-css-files",
"move-js-files": "mv widget/dist/index.js app/themes/whiteboard/source/js/lib/. && mv widget/dist/index.js.map app/themes/whiteboard/source/js/lib/.",
"move-css-files": "mv widget/dist/*.css ./app/themes/whiteboard/source/css/.",
"widget-build": "npm run clean-widget-build && cd widget; npm run build && cd .. && npm run move-files"
},
"repository": {
"type": "git",
"url": "git+https://github.com/flpms/maquete.git"
},
"author": "Filipe M. Silva",
"license": "MIT",
"bugs": {
"url": "https://github.com/flpms/maquete/issues"
},
"homepage": "https://github.com/flpms/maquete#readme"
}