UNPKG

trading-signals

Version:

Technical indicators to run technical analysis with JavaScript / TypeScript.

92 lines (91 loc) 3 kB
{ "bugs": { "url": "https://github.com/bennycode/trading-signals/issues" }, "description": "Technical indicators to run technical analysis with JavaScript / TypeScript.", "devDependencies": { "generate-changelog": "^1.8.0", "tsdown": "^0.18.4" }, "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./package.json": "./package.json" }, "files": [ "dist", "!dist/start", "!dist/test", "!dist/**/*.test.*" ], "homepage": "https://bennycode.com/trading-signals", "keywords": [ "adx", "algorithmic", "analysis", "atr", "average", "bollinger", "dema", "dma", "ema", "exponential-moving-average", "indicator", "macd", "math", "moving-average", "roc", "rsi", "signals", "simple-moving-average", "sma", "smma", "technical", "technical-indicators", "technical-overlays", "trading" ], "license": "MIT", "main": "dist/index.js", "name": "trading-signals", "repository": { "type": "git", "url": "git+https://github.com/bennycode/trading-signals.git" }, "scripts": { "build": "tsdown --dts --format esm --format cjs", "changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: updated CHANGELOG.md\"", "clean": "rimraf coverage dist", "dist": "npm run clean && npm run build && npm run test:exports", "fix": "npm run fix:other && npm run fix:code", "fix:code": "npm run lint:code -- --fix", "fix:other": "npm run prettier -- --write", "lint": "npm run lint:types && npm run lint:code && npm run lint:other", "lint:code": "eslint .", "lint:other": "npm run prettier -- --list-different", "lint:types": "tsc --noEmit", "postversion": "git push origin && git push origin --tags && npm publish && git restore .", "prettier": "prettier --config ../../.prettierrc.json --ignore-path ../../.gitignore --log-level error \"**/*.{json,scss,yml}\"", "preversion": "npm run test && npm run dist", "release:major": "generate-changelog -M -x \"chore,test\" && npm run changelog:commit && npm version major", "release:minor": "generate-changelog -m -x \"chore,test\" && npm run changelog:commit && npm version minor", "release:patch": "generate-changelog -p -x \"chore,test\" && npm run changelog:commit && npm version patch", "start": "tsx ./src/start/demo.ts", "test": "npm run test:types && npm run test:imports && npm run test:units -- --coverage", "test:exports": "attw --pack . --profile node16", "test:imports": "depcruise -c ../../.dependency-cruiser.cjs src --include-only \"^src\"", "test:types": "npm run lint:types", "test:units": "vitest run --passWithNoTests", "test:units:watch": "vitest --watch" }, "type": "module", "version": "7.4.3" }