trading-signals
Version:
Technical indicators to run technical analysis with JavaScript / TypeScript.
112 lines (111 loc) • 3.73 kB
JSON
{
"bugs": {
"url": "https://github.com/bennycode/trading-signals/issues"
},
"dependencies": {
"@types/big.js": "^6.2.2",
"big.js": "^7.0.1"
},
"description": "Technical indicators to run technical analysis with JavaScript / TypeScript.",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.1",
"@tstv/eslint-config": "^4.0.0",
"@types/benchmark": "^2.1.5",
"@types/node": "^18.19.87",
"@vitest/coverage-v8": "^3.1.2",
"benchmark": "^2.1.4",
"dependency-cruiser": "^17.0.0",
"eslint": "^9.26.0",
"generate-changelog": "^1.8.0",
"husky": "^4.3.8",
"lint-staged": "^16.1.0",
"prettier": "^3.5.3",
"pretty-quick": "^4.1.1",
"rimraf": "^6.0.1",
"tsup": "^8.4.0",
"tsx": "^4.19.4",
"typedoc": "^0.28.9",
"typedoc-plugin-markdown": "^4.6.3",
"typescript": "^5.9.2",
"vitest": "^3.1.2"
},
"exports": {
".": {
"import": "./dist/index.js",
"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": "tsup",
"changelog:commit": "git add CHANGELOG.md && git commit -m \"docs: updated CHANGELOG.md\"",
"clean": "rimraf coverage dist docs",
"dist": "npm run clean && npm run build",
"docs": "npm run docs:build",
"docs:build": "typedoc src/index.ts",
"docs:release": "npm run docs:build && git add docs/* && git commit -m \"docs: Updated API\"",
"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 --ignore-path .gitignore --log-level error \"**/*.{json,scss,yml}\"",
"preversion": "git checkout main && git pull && npm install && npm run test && npm run dist && npm run test:exports",
"release:major": "generate-changelog -M -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version major",
"release:minor": "generate-changelog -m -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version minor",
"release:patch": "generate-changelog -p -x \"chore,test\" && npm run changelog:commit && npm run docs:release && npm version patch",
"start": "tsx ./src/start/demo.ts",
"start:benchmark": "tsc --noEmit && tsx ./src/start/startBenchmark.ts",
"test": "npm run test:types && npm run test:imports && npm run test:units -- --coverage",
"test:exports": "attw --pack .",
"test:imports": "depcruise src --include-only \"^src\"",
"test:types": "npm run lint:types",
"test:units": "vitest run --passWithNoTests",
"test:units:watch": "vitest --watch"
},
"type": "module",
"version": "6.9.1"
}