Last active
June 4, 2020 00:03
-
-
Save bryandugan/19e2a74e06c310fdcc3c53c8e19c4e16 to your computer and use it in GitHub Desktop.
Craft CMS package.json based upon nystudio107's package.json located here. https://nystudio107.com/blog/a-better-package-json-for-the-frontend
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
{ | |
"name": "spaceray-creative", | |
"version": "1.0", | |
"description": "The Front-End Development workflow for Spaceray Creative", | |
"author": "Bryan Dugan <bryan@spaceraycreative.com>", | |
"copyright": "Spaceray Creative", | |
"authorUrl": "https://spaceraycreative.com", | |
"repository": { | |
"type": "git" | |
}, | |
"urls": { | |
"live": "https://INSERT_WEBSITE_URL_HERE.com/", | |
"local": "http://INSERT_WEBSITE_URL_HERE.test/" | |
}, | |
"paths": { | |
"src": { | |
"scss": "./src/scss/", | |
"js": "./src/js/", | |
"img": "./src/img/", | |
"fonts": "./src/fonts/" | |
}, | |
"build": { | |
"base": "./build/", | |
"scss": "./build/scss/", | |
"js": "./build/js/", | |
"img": "./build/img/", | |
"html": "./build/html/" | |
}, | |
"dist": { | |
"base": "./public/", | |
"css": "./public/css/", | |
"js": "./public/js/", | |
"img": "./public/img/", | |
"fonts": "./public/fonts/" | |
}, | |
"scss": [ | |
"node_modules/normalize.scss/sass", | |
"node_modules/bootstrap/scss", | |
"node_modules/aos/src/sass", | |
"node_modules/font-awesome/scss" | |
], | |
"js": [ | |
"node_modules/jquery/dist/jquery.js", | |
"node_modules/popper.js/dist/popper.js", | |
"node_modules/bootstrap/js/dist", | |
"src/js/**/*.js" | |
], | |
"templates": "./craft/templates/", | |
"fonts": "./src/fonts/*.{otf,svg,eot,ttf,woff,woff2}", | |
"favicon": { | |
"siteIcon": "./public/img/site/favicon.*", | |
"src": "./src/img/favicon.png", | |
"dest": "./public/img/site/", | |
"path": "/img/site/" | |
} | |
}, | |
"vars": { | |
"scssName": "main.scss", | |
"cssName": "main.css", | |
"jsName": "main.js" | |
}, | |
"dependencies": { | |
"bootstrap": "^4.0.0", | |
"popper.js": "^1.12.9", | |
"jquery": "^3.2", | |
"aos": "^2.2.0", | |
"normalize.css": "^5.0.0", | |
"font-awesome": "^4.7.0", | |
"slick-carousel": "^1.8.1" | |
}, | |
"devDependencies": { | |
"babel-plugin-transform-runtime": "^6.23.0", | |
"babel-preset-env": "^1.6.1", | |
"browser-sync": "^2.18.13", | |
"gulp": "^3.9.1", | |
"gulp-autoprefixer": "^4.0.0", | |
"gulp-babel": "^6.1.2", | |
"gulp-cached": "^1.1.1", | |
"gulp-concat": "^2.6.1", | |
"gulp-cssnano": "^2.1.2", | |
"gulp-favicons": "^2.2.6", | |
"gulp-filter": "^5.1.0", | |
"gulp-header": "^2.0.1", | |
"gulp-if": "^2.0.2", | |
"gulp-imagemin": "^4.1.0", | |
"gulp-include": "^2.3.1", | |
"gulp-newer": "^1.4.0", | |
"gulp-plumber": "^1.1.0", | |
"gulp-rename": "^1.2.2", | |
"gulp-sass": "^3.1.0", | |
"gulp-size": "^2.1.0", | |
"gulp-sourcemaps": "^2.6.0", | |
"gulp-strip-css-comments": "^1.2.0", | |
"gulp-util": "^3.0.8", | |
"gulp-uglify": "^3.0.0", | |
"gulp-uncomment": "^0.3.0", | |
"gulp-changed": "^3.2.0", | |
"fancy-log": "^1.3.2", | |
"moment": "^2.20.1" | |
}, | |
"scripts": { | |
"start": "gulp" | |
}, | |
"bugs": { | |
"email": "bryan@spaceraycreative.com" | |
}, | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment