This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "@lion/collapsible",
|
|
"version": "0.2.9",
|
|
"description": "This component is a combination of a button (the invoker), a chunk of extra content.",
|
|
"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/collapsible"
|
|
},
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"files": [
|
|
"*.d.ts",
|
|
"*.js",
|
|
"docs",
|
|
"src",
|
|
"test",
|
|
"test-helpers",
|
|
"translations",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group collapsible",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group collapsible",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group collapsible",
|
|
"prepublishOnly": "../../scripts/npm-prepublish.js",
|
|
"test": "cd ../../ && npm run test:browser -- --group collapsible"
|
|
},
|
|
"sideEffects": [
|
|
"lion-collapsible.js",
|
|
"demo/applyDemoCollapsibleStyles.js",
|
|
"demo/custom-collapsible.js"
|
|
],
|
|
"dependencies": {
|
|
"@lion/core": "0.13.8"
|
|
},
|
|
"keywords": [
|
|
"collapsible",
|
|
"expandable",
|
|
"lion",
|
|
"web-components"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./lion-collapsible": "./lion-collapsible.js"
|
|
}
|
|
}
|