This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "@lion/button",
|
|
"version": "0.8.11",
|
|
"description": "A button that is easily styleable and accessible in all contexts",
|
|
"license": "MIT",
|
|
"author": "ing-bank",
|
|
"homepage": "https://github.com/ing-bank/lion/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ing-bank/lion.git",
|
|
"directory": "packages/button"
|
|
},
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"files": [
|
|
"*.d.ts",
|
|
"*.js",
|
|
"docs",
|
|
"src",
|
|
"test",
|
|
"test-helpers",
|
|
"translations",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group button",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group button",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group button",
|
|
"prepublishOnly": "../../scripts/npm-prepublish.js",
|
|
"test": "cd ../../ && npm run test:browser -- --group button"
|
|
},
|
|
"sideEffects": [
|
|
"lion-button.js"
|
|
],
|
|
"dependencies": {
|
|
"@lion/core": "0.13.8"
|
|
},
|
|
"keywords": [
|
|
"button",
|
|
"lion",
|
|
"web-components"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./lion-button": "./lion-button.js"
|
|
}
|
|
}
|