lion/packages/listbox/package.json
Manuel Martin b2f981db72 refactor: add package exports entry
This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
2021-02-15 17:49:22 +01:00

57 lines
1.4 KiB
JSON

{
"name": "@lion/listbox",
"version": "0.4.3",
"description": "A listbox widget presents a list of options and allows a user to select one or more of them",
"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/listbox"
},
"main": "index.js",
"module": "index.js",
"files": [
"*.d.ts",
"*.js",
"docs",
"src",
"test",
"test-suites",
"translations",
"types"
],
"scripts": {
"debug": "cd ../../ && npm run debug -- --group listbox",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group listbox",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group listbox",
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && npm run test:browser -- --group listbox"
},
"sideEffects": [
"lion-listbox.js",
"lion-option.js",
"lion-options.js"
],
"dependencies": {
"@lion/core": "0.13.8",
"@lion/form-core": "0.7.3"
},
"keywords": [
"form",
"lion",
"listbox",
"web-components"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": "./index.js",
"./test-suites/*": "./test-suites/*",
"./lion-listbox": "./lion-listbox.js",
"./lion-option": "./lion-option.js",
"./lion-options": "./lion-options.js"
}
}