commit fab49a09fb21bd0ffaf0e79739ac4ac5d205dbf4 Author: reverend Date: Fri Aug 21 14:05:45 2020 +0200 Scaffold diff --git a/components/00_Layouts/_components.scss b/components/00_Layouts/_components.scss new file mode 100644 index 0000000..e69de29 diff --git a/components/rcss.scss b/components/rcss.scss new file mode 100644 index 0000000..e69de29 diff --git a/fractal.config.js b/fractal.config.js new file mode 100644 index 0000000..8477f2a --- /dev/null +++ b/fractal.config.js @@ -0,0 +1,37 @@ +'use strict'; + +/* +* Require the path module +*/ +const path = require('path'); +const fs = require('fs'); + +/* + * Require the Fractal module + */ +const fractal = module.exports = require('@frctl/fractal').create(); + +/* + * Give your project a title. + */ +fractal.set('project.title', 'lostplaces'); + +/* + * Tell Fractal where to look for components. + */ +fractal.components.set('path', path.join(__dirname, 'components')); + +/* + * Tell Fractal where to look for documentation pages. + */ +fractal.docs.set('path', path.join(__dirname, 'docs')); + +/* + * Tell the Fractal web preview plugin where to look for static assets. + */ +fractal.web.set('static.path', path.join(__dirname, 'public')); + +/** + * Default preview + */ +fractal.components.set('default.preview', '@preview'); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..552f61a --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "Lostplaces", + "version": "0.1.0", + "dependencies": { + "@frctl/fractal": "^1.2.1", + "fractal": "0.0.3", + "node-sass": "^4.14.1", + "sass": "^1.26.10" + }, + "scripts": { + "sass": "node-sass -w components/rcss.scss -o public/ --recursive", + "styleguide": "fractal start --sync", + "suite": "npm run sass & npm run styleguide" + } +}