lightweight-charts/package.json

137 lines
4.7 KiB
JSON
Raw Permalink Normal View History

{
"private": true,
2024-10-03 03:38:04 +08:00
"version": "4.2.2",
"name": "lightweight-charts",
"author": "TradingView, Inc.",
"license": "Apache-2.0",
"description": "Performant financial charts built with HTML5 canvas",
"bugs": {
"url": "https://github.com/tradingview/lightweight-charts/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tradingview/lightweight-charts.git"
},
2023-01-27 21:55:01 +08:00
"module": "dist/lightweight-charts.production.mjs",
2023-01-24 02:02:57 +08:00
"main": "index.cjs",
"typings": "dist/typings.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"development": {
2023-01-24 02:02:57 +08:00
"types": "./dist/typings.d.ts",
2023-01-27 21:55:01 +08:00
"import": "./dist/lightweight-charts.development.mjs",
"require": "./dist/lightweight-charts.development.cjs"
},
"production": {
2023-01-24 02:02:57 +08:00
"types": "./dist/typings.d.ts",
2023-01-27 21:55:01 +08:00
"import": "./dist/lightweight-charts.production.mjs",
"require": "./dist/lightweight-charts.production.cjs"
},
"default": {
2023-01-24 02:02:57 +08:00
"types": "./dist/typings.d.ts",
2023-01-27 21:55:01 +08:00
"import": "./dist/lightweight-charts.production.mjs",
2023-01-24 02:02:57 +08:00
"require": "./index.cjs"
}
}
},
"files": [
"dist/**"
],
"keywords": [
"financial-charting-library",
"charting-library",
"html5-charts",
"canvas",
"typescript",
"charting",
"charts"
],
"engines": {
"node": ">=16.16.0"
},
"dependencies": {
2022-11-16 23:32:48 +08:00
"fancy-canvas": "2.1.0"
},
"devDependencies": {
2023-05-20 01:29:40 +08:00
"@rollup/plugin-node-resolve": "~15.0.2",
2023-02-06 22:54:35 +08:00
"@rollup/plugin-replace": "~5.0.2",
2023-05-20 06:13:06 +08:00
"@rollup/plugin-terser": "~0.4.3",
2023-05-20 01:29:40 +08:00
"@size-limit/file": "~8.2.4",
"@types/chai": "~4.3.5",
"@types/glob": "~8.1.0",
"@types/mocha": "~10.0.1",
2022-12-15 19:37:32 +08:00
"@types/node": "~16.18.9",
"@types/pixelmatch": "~5.2.4",
"@types/pngjs": "~6.0.1",
2023-05-20 01:29:40 +08:00
"@typescript-eslint/eslint-plugin": "~5.59.6",
"@typescript-eslint/eslint-plugin-tslint": "~5.59.6",
"@typescript-eslint/parser": "~5.59.6",
"bytes": "~3.1.2",
"chai": "~4.3.7",
"chai-exclude": "~2.1.0",
"cross-env": "~7.0.3",
2023-05-20 01:29:40 +08:00
"dts-bundle-generator": "~8.0.1",
2021-09-02 19:51:30 +08:00
"eslint": "~7.32.0",
"eslint-plugin-deprecation": "~1.3.3",
2023-02-06 22:54:35 +08:00
"eslint-plugin-import": "~2.27.5",
"eslint-plugin-jsdoc": "~48.5.0",
"eslint-plugin-markdown": "~3.0.0",
"eslint-plugin-mdx": "~1.17.0",
"eslint-plugin-prefer-arrow": "~1.2.3",
2023-02-06 22:54:35 +08:00
"eslint-plugin-react": "~7.32.2",
"eslint-plugin-tsdoc": "~0.2.17",
2022-01-28 01:35:56 +08:00
"eslint-plugin-unicorn": "~40.1.0",
2024-10-04 16:59:03 +08:00
"express": "~4.20.0",
2023-05-20 01:29:40 +08:00
"glob": "~10.2.5",
"markdown-it": "~13.0.1",
2023-05-20 01:29:40 +08:00
"markdown-it-anchor": "~8.6.7",
"markdownlint-cli": "~0.34.0",
"memlab": "~1.1.39",
"mocha": "~10.2.0",
"npm-run-all": "~4.1.5",
"pixelmatch": "~5.3.0",
2023-05-20 01:29:40 +08:00
"pngjs": "~7.0.0",
"puppeteer": "~20.2.1",
"rimraf": "~5.0.1",
2024-10-04 16:59:03 +08:00
"rollup": "~3.29.5",
2023-05-20 01:29:40 +08:00
"size-limit": "~8.2.4",
"ts-node": "~10.9.1",
2023-05-20 01:29:40 +08:00
"ts-transformer-properties-rename": "~0.16.0",
"ts-transformer-strip-const-enums": "~1.0.1",
2023-05-20 01:29:40 +08:00
"tslib": "2.5.2",
"tslint": "6.1.3",
"tslint-eslint-rules": "~5.4.0",
"tslint-microsoft-contrib": "~6.2.0",
"ttypescript": "~1.5.15",
"typescript": "4.9.5",
2023-05-20 01:29:40 +08:00
"yargs": "~17.7.2"
},
"scripts": {
"postinstall": "npm run install-hooks",
2023-01-11 07:20:08 +08:00
"install-hooks": "node scripts/githooks/install.js",
"clean": "rimraf lib/ dist/",
2023-01-11 07:20:08 +08:00
"bundle-dts": "tsc --noEmit --allowJs dts-config.js && dts-bundle-generator --config dts-config.js",
"tsc": "ttsc -p tsconfig.prod.json",
"tsc-watch": "npm run tsc -- --watch --preserveWatchOutput",
2022-04-07 00:35:55 +08:00
"tsc-verify": "node website/scripts/generate-versions-dts.js && tsc -b tsconfig.composite.json",
"lint": "npm-run-all -p lint:**",
"lint:eslint": "eslint --format=unix ./",
2022-02-11 17:37:25 +08:00
"lint:md": "markdownlint -i \"**/node_modules/**\" -i \"**/website/docs/api/**\" -i \"**/website/versioned_docs/**/api/**\" \"**/*.md\"",
"check-dts-docs": "eslint --format=unix ./dist/typings.d.ts",
2023-01-11 07:20:08 +08:00
"check-markdown-links": "node scripts/check-markdown-links.js",
"rollup": "rollup -c rollup.config.js",
"rollup-watch": "npm run rollup -- --watch",
"build": "npm-run-all tsc rollup bundle-dts",
"build:watch": "npm-run-all tsc -p tsc-watch rollup-watch",
2019-07-25 16:34:07 +08:00
"build:prod": "cross-env NODE_ENV=production npm run build",
"build:release": "cross-env BUILD_TAG=release npm run build:prod",
"prepare-release": "npm-run-all clean build:release && npm run prepare-package-json-for-release",
2023-01-11 07:20:08 +08:00
"prepare-package-json-for-release": "node ./scripts/clean-package-json.js",
"size-limit": "size-limit",
2023-06-03 05:24:12 +08:00
"verify": "npm-run-all clean -p build:prod check-markdown-links -p lint check-dts-docs tsc-verify test size-limit -p type-tests",
"test": "mocha tests/unittests/**/*.spec.ts",
"type-tests": "tsc -p ./tests/type-checks/tsconfig.composite.json --noEmit"
}
}