This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "@lion/icon",
|
|
"version": "0.9.5",
|
|
"description": "A web component easily displaying svg icons",
|
|
"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/icon"
|
|
},
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"files": [
|
|
"*.d.ts",
|
|
"*.js",
|
|
"docs",
|
|
"src",
|
|
"test",
|
|
"test-helpers",
|
|
"translations",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group icon",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group icon",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group icon",
|
|
"prepublishOnly": "../../scripts/npm-prepublish.js",
|
|
"test": "cd ../../ && npm run test:browser -- --group icon"
|
|
},
|
|
"sideEffects": [
|
|
"lion-icon.js",
|
|
"./docs/icon-resolvers.js"
|
|
],
|
|
"dependencies": {
|
|
"@lion/core": "0.13.8",
|
|
"singleton-manager": "1.2.1"
|
|
},
|
|
"keywords": [
|
|
"icon",
|
|
"lion",
|
|
"web-components"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./lion-icon": "./lion-icon.js"
|
|
}
|
|
}
|