lion/packages/core/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

55 lines
1.4 KiB
JSON

{
"name": "@lion/core",
"version": "0.13.8",
"description": "Core functionality that is shared across all Lion Web Components",
"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/core"
},
"main": "index.js",
"module": "index.js",
"files": [
"*.d.ts",
"*.js",
"docs",
"src",
"test",
"test-helpers",
"translations",
"types"
],
"scripts": {
"debug": "cd ../../ && npm run debug -- --group core",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group core",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group core",
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && npm run test:browser -- --group core"
},
"sideEffects": [
"./closestPolyfill.js",
"./differentKeyEventNamesShimIE.js"
],
"dependencies": {
"@open-wc/dedupe-mixin": "^1.2.18",
"@open-wc/scoped-elements": "^1.3.3",
"lit-element": "~2.4.0",
"lit-html": "^1.3.0"
},
"keywords": [
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": "./index.js",
"./test-helpers/*": "./test-helpers/*",
"./closestPolyfill": "./src/closestPolyfill.js",
"./differentKeyEventNamesShimIE": "./src/differentKeyEventNamesShimIE.js"
}
}