GithubHelp home page GithubHelp logo

bhanditz / bootstrapcdn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsdelivr/bootstrapcdn

0.0 2.0 0.0 30.3 MB

Free Bootstrap hosting on StackPath's Content Delivery Network

Home Page: https://www.bootstrapcdn.com/

License: MIT License

JavaScript 98.75% CSS 0.06% Shell 0.04% HTML 1.15%

bootstrapcdn's Introduction

BootstrapCDN

Follow BootstrapCDN on Twitter Linux Build Status Windows Build status Coverage Status dependencies Status devDependencies Status

Deploy your own copy on Heroku

Deploy to Heroku

Requirements

  1. Node.js

Running

Use npm run <task>.

Development

npm install

npm test && npm run dev

Demonized

# start development server and watch for changes
npm run dev
# or
npm run watch

# start production server
npm start

# and more
npm run

Configuration

config/_app.yml

The Express.js app configuration.

  • port: Integer value of the Node application port.
  • theme: Integer value of the default theme we use; it's the array index value from the bootswatch4 section below.
  • siteurl: Our canonical URL.
  • authors: Array of author Objects. Accepts the following:
    • name
    • twitter: the Twitter handler without @
    • url: author's website URL (optional)
    • work: (optional) Object which can contain:
      • text: the text to show for the url bellow
      • url: the link to the work
  • description: String containing the default meta description of the site.
  • favicon: The path to favicon.ico.
  • stylesheet: Array of stylesheet file(s) we use apart from the Bootswatch stylesheet.
  • javascript: Array of javascript file(s) we use.
  • redirects: Array of Objects for the page redirects.

config/_extras.yml

Contains the /showcase/ and /integrations/ config we use in the Express.js app.

config/_files.yml

Contains the CDN files we host.The SRI values are updated by running npm run integrity.

config/helmet-csp.js

Our CSP config using https://github.com/helmetjs/csp

Updating Bootstrap/Bootlint

  1. npm i bootstrap@version --save-exact -D/npm i bootlint@version --save-exact -D
  2. npm run bootstrap version/npm run bootlint version
  3. Update config/_config.yml accordingly
  4. npm run integrity
  5. Make sure npm run ci passes after the files are on S3/CDN and verify the frontend works as expected without any visual breakage

bootstrapcdn's People

Contributors

auscompgeek avatar benschell avatar bmconklin avatar caasig avatar cassiux avatar cvrebert avatar eamonnscu avatar flashtopia avatar gitter-badger avatar hardeepasrani avatar it-can avatar jdorfman avatar jensenbox avatar jimaek avatar jmervine avatar jonathankingston avatar karloespiritu avatar krinkle avatar mathiasbynens avatar mikexstudios avatar mimic84 avatar peterdavehello avatar philbrown avatar thomaspark avatar tjasko avatar tobsn avatar xhmikosr avatar zuice avatar

Watchers

 avatar  avatar

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.