-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.57 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
37
38
{
"name": "grav-dev-template",
"version": "1.0.0",
"description": "Template for Grav CMS easy Development with docker",
"main": "index.js",
"config": {
"version": "1.6.9",
"port": "8080"
},
"scripts": {
"dev:test": "echo ./tmp/grav-v$npm_package_config_version.zip",
"dev:download": "wget -O ./tmp/grav-v$npm_package_config_version.zip https://getgrav.org/download/core/grav/$npm_package_config_version",
"dev:unzip": "unzip ./tmp/grav-v$npm_package_config_version.zip 'grav/user/*' -d user && cp -r user/grav/user/* user && rm -r user/grav",
"dev:setvars": "rm -f .env && printf '%s\n' 'GRAV_VERSION='$npm_package_config_version 'PORT='$npm_package_config_port >> .env",
"dev:install": "npm run dev:download && npm run dev:unzip && npm run dev:setvars && docker-compose up -d",
"dev:clear": "rm -f ./tmp/grav-v$npm_package_config_version.zip",
"dev:uninstall": "docker-compose stop && docker-compose down --rmi 'all' && npm run dev:clear",
"dev:removedata": "rm -rf user/*",
"dev:env-start": "docker-compose start",
"dev:env-stop": "docker-compose stop",
"dev": "browser-sync start --proxy localhost:8080 --files user",
"serve": "npm run dev",
"grav:cmd": "docker-compose exec -u www-data gravcms php bin/grav",
"grav:install": "docker-compose exec -u www-data gravcms php bin/gpm install",
"grav:gpm": "docker-compose exec -u www-data gravcms php bin/gpm"
},
"keywords": [
"grav",
"docker",
"cms",
"php"
],
"author": "Author",
"license": "ISC",
"dependencies": {
"browser-sync": "^2.24.7"
}
}