Socket
Socket
Sign inDemoInstall

@contentful/forma-36-tokens

Package Overview
Dependencies
Maintainers
44
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/forma-36-tokens - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

dist/index.d.ts

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.2.0](https://github.com/contentful/forma-36/compare/@contentful/forma-36-tokens@0.1.0...@contentful/forma-36-tokens@0.2.0) (2019-02-11)
### Features
* **forma-36-tokens:** Added JS export of all tokens with TS typings ([#78](https://github.com/contentful/forma-36/issues/78)) ([c14b903](https://github.com/contentful/forma-36/commit/c14b903))
# [0.1.0](https://github.com/contentful/forma-36/compare/@contentful/forma-36-tokens@0.0.6...@contentful/forma-36-tokens@0.1.0) (2019-02-04)

@@ -8,0 +19,0 @@

12

package.json
{
"name": "@contentful/forma-36-tokens",
"description": "Forma 36 Tokens",
"version": "0.1.0",
"main": "dist/json/tokens.json",
"version": "0.2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",

@@ -11,5 +12,6 @@ "files": [

],
"dependencies": {
"devDependencies": {
"fs-extra": "^7.0.1",
"globby": "^9.0.0"
"globby": "^9.0.0",
"lodash": "4.17.11"
},

@@ -25,3 +27,3 @@ "scripts": {

},
"gitHead": "8bd3c5307ec37142f2c898deb150f98172d29e07"
"gitHead": "8ac970cf0dc97498cb138e34aa95c1521ef0ca7c"
}

@@ -23,2 +23,8 @@ # Forma 36 Tokens

#### JS
```js
import F36Tokens from '@contentful/forma-36-tokens';
```
#### CSS

@@ -85,4 +91,4 @@

Running the build script will populate the `dist` directory with separately built JSON, CSS, and SCSS.
Running the build script will populate the `dist` directory with separately built JSON, CSS, SCSS and JS file with TS typings.
This script populates the dist folder with all tokens as JSON, CSS and SCSS. For CSS and SCSS builds, an index file is included for ease of importing.
This script populates the dist folder with all tokens as JSON, CSS, SCSS and JS. For CSS and SCSS builds, an index file is included for ease of importing.

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc