This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "@lion/switch",
|
|
"version": "0.12.17",
|
|
"description": "A Switch is used for switching a property or feature on and off",
|
|
"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/switch"
|
|
},
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"files": [
|
|
"*.d.ts",
|
|
"*.js",
|
|
"docs",
|
|
"src",
|
|
"test",
|
|
"test-helpers",
|
|
"translations",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group switch",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group switch",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group switch",
|
|
"prepublishOnly": "../../scripts/npm-prepublish.js",
|
|
"test": "cd ../../ && npm run test:browser -- --group switch"
|
|
},
|
|
"sideEffects": [
|
|
"lion-switch.js",
|
|
"lion-switch-button.js"
|
|
],
|
|
"dependencies": {
|
|
"@lion/core": "0.13.8",
|
|
"@lion/form-core": "0.7.3",
|
|
"@lion/helpers": "0.5.20"
|
|
},
|
|
"keywords": [
|
|
"lion",
|
|
"switch",
|
|
"web-components"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./lion-switch": "./lion-switch.js",
|
|
"./lion-switch-button": "./lion-switch-button.js"
|
|
}
|
|
}
|