Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nyc-planning-style-guide

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nyc-planning-style-guide

Base styles for NYC Department of City Planning (using Foundation for Sites)

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53
increased by26.19%
Maintainers
6
Weekly downloads
 
Created
Source

NYC Planning Digital Style Guide

NYC Planning's Digital Style Guide defines standards for the creation, formatting, and design of our digital products. These best practices and UI patterns ensure consistency both within specific applications, and throughout our products and services.

Built on Foundation

This style guide is built upon Foundation for Sites. This repo is forked from the ZURB Template and has a Gulp-powered build system with the following features:

  • Handlebars HTML templates with Panini
  • Sass compilation and prefixing
  • JavaScript module bundling with webpack
  • Built-in BrowserSync server
  • For production builds:
    • CSS compression
    • JavaScript module bundling with webpack
    • Image compression

Requirements

  • NodeJS (Version 6 or greater recommended, tested with 6.11.4 and 8.12.0)
  • Git

Local Development

  • Clone this repository: git clone git@github.com:NYCPlanning/nyc-planning-style-guide.git
  • Navigate to the directory: cd nyc-planning-style-guide
  • Install dependencies: yarn
  • yarn start to run Gulp
  • The site will be compiled in dist and viewable at http://localhost:8000
  • To create compressed, production-ready assets, run yarn run build

Publishing / Deploying

Before deploying the docs, a new release should be created and published via npm (unless deploying changes that only affect the docs).

  • Bump the version number in src/data/release.json
  • Bump the version number in package.json
  • Run npm publish — a prepublish script is run on npmjs.com, which makes CDN files available at unpkg.com/browse/nyc-planning-style-guide/

Docs deployment is handled through Netlify, which serves the dist directory. To deploy to nyc-planning-style-guide.netlify.com, simply push changes to the master branch.

FAQs

Package last updated on 21 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc