@launchdarkly/js-sdk-common
Version:
LaunchDarkly SDK for JavaScript - common code
63 lines • 1.91 kB
JSON
{
"name": "@launchdarkly/js-sdk-common",
"version": "2.25.2",
"type": "module",
"main": "./dist/esm/index.mjs",
"types": "./dist/esm/index.d.ts",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/shared/common",
"repository": {
"type": "git",
"url": "https://github.com/launchdarkly/js-core.git"
},
"description": "LaunchDarkly SDK for JavaScript - common code",
"files": [
"dist"
],
"keywords": [
"launchdarkly",
"analytics",
"client"
],
"exports": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.mjs"
}
},
"scripts": {
"test": "npx jest --ci",
"make-cjs-package-json": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"make-esm-package-json": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
"make-package-jsons": "npm run make-cjs-package-json && npm run make-esm-package-json",
"build": "npx tsc --noEmit && rollup -c rollup.config.js && npm run make-package-jsons",
"clean": "rimraf dist",
"lint": "npx eslint .",
"lint:fix": "yarn run lint --fix",
"check": "yarn && yarn lint && tsc && yarn test"
},
"license": "Apache-2.0",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^11.1.1",
"@types/jest": "^29.4.0",
"eslint": "^9.0.0",
"eslint-import-resolver-typescript": "^4.0.0",
"eslint-plugin-import-x": "^4.0.0",
"eslint-plugin-jest": "^28.0.0",
"globals": "^16.0.0",
"jest": "^29.5.0",
"rimraf": "6.0.1",
"rollup": "^3.23.0",
"ts-jest": "^29.0.5",
"tslib": "^2.7.0",
"typedoc": "0.25.0",
"typescript": "5.1.6",
"typescript-eslint": "^8.0.0"
}
}