@patternfly/react-tokens 2.0.7 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-tokens",
3
- "version": "2.0.7",
3
+ "version": "2.2.1",
4
4
  "description": "This library provides access to the design tokens of PatternFly 4 from JavaScript",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -25,15 +25,17 @@
25
25
  },
26
26
  "homepage": "https://github.com/patternfly/patternfly-react#readme",
27
27
  "scripts": {
28
- "build": "node build/generateTokens.js",
28
+ "build": "node build/generateTokens.js && yarn build:babel:umd",
29
+ "build:babel:umd": "cross-env BABEL_ENV=production:umd babel dist/esm --out-dir dist/umd --plugins transform-es2015-modules-umd",
29
30
  "clean": "rimraf dist"
30
31
  },
31
32
  "devDependencies": {
32
- "@patternfly/patternfly": "1.0.222",
33
+ "@patternfly/patternfly": "1.0.244",
34
+ "babel-plugin-transform-es2015-modules-umd": "^6.24.1",
33
35
  "css": "^2.2.3",
34
36
  "fs-extra": "^6.0.1",
35
37
  "glob": "^7.1.2",
36
38
  "rimraf": "^2.6.2"
37
39
  },
38
- "gitHead": "e3be9cefa50101eb2aea807ff375760fc8f5aac4"
40
+ "gitHead": "f42dd0070c64d5b4bdbfcd761dd23522b396adcd"
39
41
  }