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

53 lines
1.3 KiB
JSON

{
"name": "@lion/textarea",
"version": "0.8.16",
"description": "Provide a way for users to write text that is multiple lines long",
"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/textarea"
},
"main": "index.js",
"module": "index.js",
"files": [
"*.d.ts",
"*.js",
"docs",
"src",
"test",
"test-helpers",
"translations",
"types"
],
"scripts": {
"debug": "cd ../../ && npm run debug -- --group textarea",
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group textarea",
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group textarea",
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && npm run test:browser -- --group textarea"
},
"sideEffects": [
"lion-textarea.js"
],
"dependencies": {
"@lion/core": "0.13.8",
"@lion/form-core": "0.7.3",
"@types/autosize": "^3.0.7",
"autosize": "4.0.2"
},
"keywords": [
"lion",
"textarea",
"web-components"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": "./index.js",
"./lion-textarea": "./lion-textarea.js"
}
}