@financial-times/o-assets
Advanced tools
Comparing version 3.4.8 to 3.4.9
@@ -12,6 +12,3 @@ { | ||
}, | ||
"supportStatus": "active", | ||
"ci": { | ||
"circle": "https://circleci.com/api/v1/project/Financial-Times/o-assets" | ||
} | ||
"supportStatus": "deprecated" | ||
} |
{ | ||
"browser": "browser.js", | ||
"files": [ | ||
"svg/", | ||
"dist/", | ||
"browser.js", | ||
"src/", | ||
"!src/**/*.js", | ||
"main.scss", | ||
"img", | ||
"*.json", | ||
"*.js", | ||
"!main.js", | ||
"scss", | ||
"!bower.json", | ||
"!.bower.json" | ||
], | ||
"module": "module.js", | ||
"eslintIgnore": [ | ||
"module.js", | ||
"browser.js", | ||
"dist/" | ||
"dist/", | ||
"dist-esm/" | ||
], | ||
@@ -28,3 +16,3 @@ "keywords": [ | ||
"name": "@financial-times/o-assets", | ||
"version": "3.4.8", | ||
"version": "3.4.9", | ||
"dependencies": {}, | ||
@@ -34,7 +22,9 @@ "component": "o-assets", | ||
"devDependencies": { | ||
"eslint-config-origami-component": "^2.0.1", | ||
"origami-ci-tools": "^2.0.0", | ||
"remark-preset-lint-origami-component": "^1.0.0", | ||
"stylelint-config-origami-component": "^1.0.2" | ||
"eslint": "^7.8.1", | ||
"eslint-config-origami-component": "^2.1.0", | ||
"origami-ci-tools": "^2.0.2", | ||
"remark-preset-lint-origami-component": "^1.2.0", | ||
"stylelint": "^13.7.0", | ||
"stylelint-config-origami-component": "^1.0.4" | ||
} | ||
} |
# o-assets [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](#licence) | ||
_Deprecated._ `o-assets` does not support Origami components delivered via npm or version 2 of the Origami specification. | ||
This component provides Sass and JavaScript utilities for reliably building paths to a component's static assets, such as CSS background images, fonts and JSON data files. This is needed because the URL path to load these assets will vary depending on how a product developer chooses to integrate the Origami component into their website. | ||
@@ -10,2 +12,4 @@ | ||
- [URL routing](#url-routing) | ||
- [If you don't have URL routing](#if-you-dont-have-url-routing) | ||
- [If you do have URL routing](#if-you-do-have-url-routing) | ||
- [Using with the build service](#using-with-the-build-service) | ||
@@ -12,0 +16,0 @@ - [Contact](#contact) |
23424
24
226
119
6