Socket
Socket
Sign inDemoInstall

phila-standards

Package Overview
Dependencies
5
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

dist/js/phila-standards.min.js

17

package.json
{
"name": "phila-standards",
"version": "0.3.1",
"version": "0.3.2",
"description": "City of Philadelphia Standards",

@@ -21,3 +21,2 @@ "main": "src/js/main.js",

"node-sass": "^4.3.0",
"onchange": "^3.2.1",
"parallelshell": "^2.0.0",

@@ -27,2 +26,3 @@ "postcss": "^5.2.10",

"rimraf": "^2.6.1",
"uglifyjs": "^2.4.10",
"watchify": "^3.8.0"

@@ -33,9 +33,10 @@ },

"setup": "mkdirp dist/js",
"assets": "cp -R node_modules/font-awesome/fonts dist/ && cp -R src/img dist/",
"build:css": "node-sass --include-path node_modules/foundation-sites/scss --include-path node_modules/font-awesome/scss --output-style compressed --source-map true src/sass/phila-standards.scss dist/css/phila-standards.css",
"watch:css": "onchange './src/sass/' -- yarn run build:css",
"build:js": "browserify src/js/main.js -o dist/js/phila-standards.js",
"assets": "cp -R node_modules/font-awesome/fonts dist/ && cp -R src/img dist/",
"build": "yarn run setup && yarn run build:css && yarn run build:js && yarn run assets",
"prewatch": "yarn run build",
"watch": "parallelshell 'yarn run watch:css'",
"build:js": "browserify src/js/main.js | uglifyjs -mc > dist/js/phila-standards.min.js",
"build": "yarn run setup && yarn run assets && yarn run build:css && yarn run build:js",
"postbuild": "postcss --use autoprefixer -b 'last 2 versions' < dist/css/phila-standards.css -o dist/css/phila-standards.css",
"watch:css": "yarn build:css && yarn build:css -- -w",
"watch:js": "watchify src/js/main.js -o dist/js/phila-standards.js -v",
"watch": "parallelshell 'yarn run watch:css' 'yarn run watch:js'",
"start": "yarn run watch",

@@ -42,0 +43,0 @@ "prerelease": "yarn run clean",

@@ -1,2 +0,14 @@

# digital-standards
Digital standards from the City of Philadelphia.
# Digital Standards
Digital standard assets from the City of Philadelphia.
# Local development
- Install dependencies. You'll need:
- npm
- [Yarn](yarnpkg.com)
- Clone this repo and cd into the directory
- Run `yarn start` to watch directories.
# Creating a release
1. Run `yarn release`. This will clean the /dist directory and compile all necessary files.
2. Run `npm publish` (note that `yarn publish` will hang due to [this issue](https://github.com/yarnpkg/yarn/issues/1694))
3. Create .zip file with all `/dist` files, and upload as new [GitHub Release](https://github.com/CityOfPhiladelphia/standards/releases).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc