This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"name": "singleton-manager",
|
|
"version": "1.2.1",
|
|
"description": "Manage singletons across multiple major versions so they converge to a single instance",
|
|
"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/singleton-manager"
|
|
},
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"files": [
|
|
"*.d.ts",
|
|
"*.js",
|
|
"docs",
|
|
"src",
|
|
"test",
|
|
"test-helpers",
|
|
"translations",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group singleton-manager",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group singleton-manager",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group singleton-manager",
|
|
"prepublishOnly": "../../scripts/npm-prepublish.js",
|
|
"start:fail": "es-dev-server -c demo/fail/server.js",
|
|
"start:singleton": "es-dev-server -c demo/singleton/server.js",
|
|
"start:singleton-complex": "es-dev-server -c demo/singleton-complex/server.js",
|
|
"test": "cd ../../ && npm run test:browser -- --group singleton-manager"
|
|
},
|
|
"sideEffects": false,
|
|
"keywords": [
|
|
"lion",
|
|
"singleton-manager"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"exports": "./index.js"
|
|
}
|