55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"name": "alien-signals",
|
|
"version": "1.0.13",
|
|
"sideEffects": false,
|
|
"license": "MIT",
|
|
"description": "The lightest signal library.",
|
|
"packageManager": "pnpm@9.12.0",
|
|
"types": "./types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./esm/index.mjs",
|
|
"require": "./cjs/index.cjs"
|
|
},
|
|
"./cjs": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./cjs/index.cjs",
|
|
"require": "./cjs/index.cjs"
|
|
},
|
|
"./esm": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./esm/index.mjs",
|
|
"require": "./esm/index.mjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"cjs/index.cjs",
|
|
"esm/index.mjs",
|
|
"types/*.d.ts"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/johnsoncodehk/signals.git"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "tsc && npm run build:esm && npm run build:cjs",
|
|
"build:esm": "esbuild src/index.ts --bundle --minify-whitespace --format=esm --outfile=esm/index.mjs",
|
|
"build:cjs": "esbuild src/index.ts --bundle --minify-whitespace --format=cjs --outfile=cjs/index.cjs",
|
|
"test": "vitest run",
|
|
"lint": "tsslint --project tsconfig.json",
|
|
"bench": "npm run build:esm && node --jitless --expose-gc benchs/propagate.mjs",
|
|
"bench:memory": "npm run build:esm && node --expose-gc benchs/memoryUsage.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@tsslint/cli": "latest",
|
|
"@tsslint/config": "latest",
|
|
"esbuild": "latest",
|
|
"mitata": "latest",
|
|
"typescript": "latest",
|
|
"vitest": "latest",
|
|
"jest-extended": "latest"
|
|
}
|
|
}
|