-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
box.json
55 lines (55 loc) · 2.15 KB
/
box.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name":"REST APP Template",
"version":"7.5.0",
"location":"forgeboxStorage",
"author":"You",
"slug":"cbtemplate-rest",
"createPackageDirectory":false,
"type":"mvc",
"homepage":"https://github.com/coldbox-templates/rest",
"documentation":"https://github.com/coldbox-templates/rest",
"repository":{
"type":"git",
"url":"https://github.com/coldbox-templates/rest"
},
"bugs":"https://github.com/coldbox-templates/rest/issues",
"shortDescription":"This template gives you the base for building RESTFul web services with ColdBox",
"contributors":[],
"ignore":[
"changelog.md",
".github/**"
],
"devDependencies":{
"testbox":"^5.0.0",
"relax":"^4.1.0",
"route-visualizer":"*",
"commandbox-dotenv":"*",
"commandbox-cfconfig":"*",
"commandbox-cfformat":"*"
},
"installPaths":{
"coldbox":"coldbox/",
"testbox":"testbox/",
"relax":"modules/relax/",
"cbsecurity":"modules/cbsecurity/",
"route-visualizer":"modules/route-visualizer/",
"mementifier":"modules/mementifier/",
"cbvalidation":"modules/cbvalidation/"
},
"dependencies":{
"coldbox":"^7.0.0",
"cbsecurity":"^3.0.0",
"mementifier":"^3.3.0",
"cbvalidation":"^4.1.0"
},
"scripts":{
"postInstall":"pathExists .env || cp .env.example .env && package set ignore=[]",
"format":"cfformat run config/,handlers/,interceptors/,models/,modules_app/,tests/specs/,*.cfc ./.cfformat.json --overwrite",
"format:check":"cfformat check config/,handlers/,interceptors/,models/,modules_app/,tests/specs/,*.cfc ./.cfformat.json",
"format:watch":"cfformat watch path='config/,handlers/,interceptors/,models/,modules_app/,tests/specs/,*.cfc' settingsPath='.cfformat.json'",
"docker:build":"!docker build --no-cache -t my-coldbox-app -f ./build/Dockerfile ./",
"docker:run":"!docker run -it -p 8080:8080 my-coldbox-app",
"docker:bash":"!docker run -it my-coldbox-app /bin/bash",
"docker:stack":"!docker compose -f build/docker-compose.yaml ${1}"
}
}