Based on the popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
// package vars | |
const pkg = require("./package.json"); | |
// gulp | |
const gulp = require("gulp"); | |
// load all plugins in "devDependencies" into the variable $ | |
const $ = require("gulp-load-plugins")({ | |
pattern: ["*"], | |
scope: ["devDependencies"] |
{ | |
"name": "website", | |
"version": "0.1", | |
"description": "A Craft CMS website", | |
"main": "gulpfile.js", | |
"author": "James Greig", | |
"copyright": "Graphical House", | |
"license": "UNLICENSED", | |
"private": true, | |
"paths": { |
// Handler for when DOM is loaded.... | |
var startup = function(){ | |
console.log('DOM ready, starting Barba.js') | |
Barba.Pjax.start(); | |
}; | |
// Check if DOM is loaded... | |
if ( | |
document.readyState === "complete" || |
# The environment Craft is currently running in ('dev', 'staging', 'production', etc.) | |
ENVIRONMENT="dev" | |
# The secure key Craft will use for hashing and encrypting data | |
SECURITY_KEY="generate-a-long-random-key-and-put-it-here" | |
# The database driver that will be used ('mysql' or 'pgsql') | |
DB_DRIVER="mysql" | |
# The database server name or IP address (usually this is 'localhost' or '127.0.0.1') |
I hereby claim:
To claim this, I am signing this object: