mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 01:22:49 +00:00
83 lines
2.0 KiB
JSON
83 lines
2.0 KiB
JSON
{
|
|
"name": "@module-federation/error-codes",
|
|
"description": "Module Federation Error Codes",
|
|
"author": "zhanghang <hanric.zhang@gmail.com>",
|
|
"public": true,
|
|
"sideEffects": false,
|
|
"version": "2.5.0",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/module-federation/core.git",
|
|
"directory": "packages/error-codes"
|
|
},
|
|
"keywords": [
|
|
"Module Federation",
|
|
"error codes"
|
|
],
|
|
"files": [
|
|
"dist/",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"browser": {
|
|
"url": false
|
|
},
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./browser": {
|
|
"import": {
|
|
"types": "./dist/browser.d.mts",
|
|
"default": "./dist/browser.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/browser.d.ts",
|
|
"default": "./dist/browser.cjs"
|
|
}
|
|
},
|
|
"./node": {
|
|
"import": {
|
|
"types": "./dist/node.d.mts",
|
|
"default": "./dist/node.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/node.d.ts",
|
|
"default": "./dist/node.cjs"
|
|
}
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
".": [
|
|
"./dist/index.d.ts"
|
|
],
|
|
"browser": [
|
|
"./dist/browser.d.ts"
|
|
],
|
|
"node": [
|
|
"./dist/node.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown --config tsdown.config.ts --filter error-codes-build",
|
|
"lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\" \"package.json\"",
|
|
"test": "pnpm exec jest --config jest.config.js --passWithNoTests",
|
|
"test:ci": "pnpm exec jest --config jest.config.js --passWithNoTests --ci --coverage",
|
|
"pre-release": "pnpm run test && pnpm run build"
|
|
}
|
|
} |