epiphanysearch / boilerplate Goto Github PK
View Code? Open in Web Editor NEWNode.js template for building Front End projects.
License: MIT License
Node.js template for building Front End projects.
License: MIT License
So that you get it by default (e.g.: works in Umbraco)
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.
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
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?
Should happen on "umbraco" task. This will be useful to have the error page served as a static html page which is less error prone to error and will keep the style of it up to date
Add a default one for asp.net + vs + Umbraco or let user pick from https://github.com/github/gitignore awesome collection
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.