-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
583 changed files
with
11,981 additions
and
124,085 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: "3.4" | ||
|
||
services: | ||
node: | ||
environment: | ||
- WATCH=true | ||
- DEBUG_VERBOSITY=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
'use strict'; | ||
|
||
/** | ||
* @namespace HashBrown | ||
*/ | ||
|
||
/** | ||
* @namespace HashBrown.Common | ||
*/ | ||
|
||
const AppModulePath = require('app-module-path'); | ||
const Path = require('path'); | ||
|
||
// Set app root | ||
global.APP_ROOT = Path.resolve(__dirname); | ||
|
||
// Make sure we can require our source files conveniently | ||
AppModulePath.addPath(__dirname); | ||
AppModulePath.addPath(Path.resolve(__dirname, './src')); | ||
|
||
// Use bluebird promise | ||
global.Promise = require('bluebird'); | ||
|
||
Promise.onPossiblyUnhandledRejection((error, promise) => { | ||
throw error; | ||
}); | ||
|
||
// Include main server module | ||
require(APP_ROOT + '/src/Server'); | ||
require(Path.join(APP_ROOT, 'src', 'Server')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
{ | ||
"name": "hashbrown-cms", | ||
"repository": "https://github.com/HashBrownCMS/hashbrown-cms.git", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "A free and open-source headless CMS", | ||
"main": "hashbrown.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build:frontend": "webpack --progress", | ||
"watch:frontend": "webpack --watch --watch-poll --progress", | ||
"start": "npm run build:frontend && node hashbrown.js", | ||
"watch:nodemon": "nodemon hashbrown.js", | ||
"start:docker": "npm run build:frontend && cd ./docker && docker-compose up --build -d", | ||
"stop:docker": "cd ./docker && docker-compose down", | ||
"watch:docker": "cd ./docker && docker-compose -f docker-compose.yml -f docker-compose.watch.yml up --build -d && docker-compose logs -f node", | ||
"update": "git pull && git submodule update --recursive --init && npm install && npm run build:frontend" | ||
}, | ||
"author": "Putaitu", | ||
"license": "MIT", | ||
"dependencies": { | ||
"app-module-path": "^2.2.0", | ||
"bluebird": "^3.5.3", | ||
"body-parser": "^1.18.3", | ||
"cookie-parser": "^1.4.3", | ||
"express": "^4.16.4", | ||
"express-ws": "^4.0.0", | ||
"glob": "^7.1.3", | ||
"js-beautify": "^1.8.9", | ||
"marked": "^0.6.0", | ||
"json-loader": "^0.5.4", | ||
"mongodb": "^3.1.10", | ||
"multer": "^1.4.1", | ||
"path-to-regexp": "^2.4.0", | ||
"pug": "^2.0.3", | ||
"rimraf": "^2.6.3", | ||
"sass": "^1.16.0", | ||
"semver": "^5.6.0", | ||
"webpack": "^4.28.1", | ||
"yamljs": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.2.3", | ||
"babel-loader": "^8.0.5", | ||
"json-loader": "^0.5.4", | ||
"sass": "^1.16.0" | ||
"webpack-cli": "^3.3.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.