Giter Site home page Giter Site logo

boilerplate's People

Contributors

nadinengland avatar webbist-dev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

boilerplate's Issues

Prevent CMSable assets being included in build task

When the boilerplate is used with a CMS (like Umbraco) we typically include a grunt umbraco task that copies the build/dist/assets/ folder into the Web Project. This compresses and copies more images than are required as many of the images in the CMS build are managed in the backend (and uploaded to /media/.)

It is proposed we add a src/assets-cms/ folder that than then can be excluded from the grunt umbraco task. A [[assets-cms]] key would also need to be created.

Further development might include the changes to tasks/amend-assets-path.js to check to see if the file exists in both folders and include the appropriate path if so.

Add make file

bootstrap, or whatever you want to call it.
Useful to be targeted by automated build (vs, ci) and noob BE devs.

I have this in my current project (bash script)

npm install jspm -g

# This probably needs to just append to make sure that the file exists but it's not overriding it.
echo {} > secret.json

npm -g install npm@2

npm install
jspm install --force

npm install [email protected] --save-dev
npm install -g grunt-cli

grunt umbraco --forces

May also need

jspm config registries.github.remote https://github.jspm.io
jspm config registries.github.auth [JSPM KEY]
jspm config registries.github.maxRepoSize 0
jspm config registries.github.handler jspm-github

to avoid hitting jspm threshold

Favicon to root folder

In cases like when using Umbraco the HTML head will not be what is in the boilerplate and the browser will default to looking for the favicon in the root. Can the favicon been made a special case and be dropped there instead of the asset folder?

Add "umbraco" task to copy build to web project

gruntfile.js
grunt.registerTask('umbraco', 'Copies the dist files to the assets folder in the web project', [ 'build', 'copy:umbraco' ]);

copy.json
"umbraco": { "expand": true, "cwd": "<%= path.src %>/assets/", "src": "**/*", "dest": "<%= path.src %>/../[project name].Web/assets/" }

Could do with a better name.
Potentially it could add the files to the csproj file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.