@codecademy/variance
0.26.10.26.2-alpha.d64fc5.0
package.json~
package.jsonModified+9−3
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,13 +1,20 @@
{
"name": "@codecademy/variance",
"description": "Constraint based CSS in JS for building scalable design systems",
- "version": "0.26.1",
+ "version": "0.26.2-alpha.d64fc5.0",
"author": "codecaaron <[email protected]>",
"dependencies": {
"csstype": "^3.0.7",
"lodash": "^4.17.23"
},
+ "exports": {
+ ".": {
+ "import": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "default": "./dist/index.js"
+ }
+ },
"files": [
"dist"
],
"homepage": "https://github.com/Codecademy/gamut/variance",
@@ -18,9 +25,8 @@
"styles"
],
"license": "MIT",
"main": "dist/index.js",
- "module": "dist/index.js",
"peerDependencies": {
"@emotion/react": "*",
"typescript": ">=4.3.5"
},
@@ -30,6 +36,6 @@
"repository": "Codecademy/gamut.git",
"scripts": {
"build": "nx build @codecademy/variance"
},
- "types": "dist/index.d.ts"
+ "type": "module"
}