KLineChart/package.json
2024-10-28 02:57:03 +08:00

90 lines
2.7 KiB
JSON

{
"name": "klinecharts",
"version": "9.8.10",
"description": "Lightweight k-line chart built with html5 canvas",
"main": "./dist/index.cjs",
"module": "./dist/index.esm.js",
"unpkg": "./dist/umd/klinecharts.min.js",
"types": "./dist/index.d.ts",
"type": "module",
"files": [
"LICENSE",
"README.md",
"dist/",
"licenses/",
"NOTICE"
],
"repository": {
"type": "git",
"url": "https://github.com/klinecharts/KLineChart"
},
"bugs": {
"url": "https://github.com/klinecharts/KLineChart/issues"
},
"homepage": "https://klinecharts.com/",
"keywords": [
"k-line",
"time-line",
"candlestick",
"indicator",
"finance",
"klinechart",
"stockchart",
"stock",
"chart",
"canvas"
],
"author": "liihuu",
"license": "Apache-2.0",
"private": false,
"scripts": {
"lint": "eslint src/**/*.ts",
"clean": "node scripts/clean.js",
"build-esm": "node scripts/build-esm.js",
"build-cjs": "cross-env NODE_ENV=production node scripts/build-cjs.js",
"build-umd:dev": "cross-env NODE_ENV=development node scripts/build-umd.js",
"build-umd:prod": "cross-env NODE_ENV=production node scripts/build-umd.js",
"build-umd": "npm run build-umd:dev && npm run build-umd:prod",
"build-core": "npm run build-esm && npm run build-cjs && npm run build-umd",
"build-dts": "dts-bundle-generator --no-banner true --fail-on-class true --umd-module-name klinecharts -o dist/index.d.ts src/index.ts",
"build": "npm run clean && npm run build-core && npm run build-dts",
"prepare": "husky install",
"docs:dev": "npm run dev --prefix docs",
"docs:build": "npm run build --prefix docs",
"docs:preview": "npm run preview --prefix docs",
"docs:deploy": "npm run docs:build && gh-pages -d website"
},
"engines": {
"node": ">=0.10.0"
},
"devDependencies": {
"@babel/standalone": "^7.24.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/pluginutils": "^5.1.0",
"@stackblitz/sdk": "^1.9.0",
"@types/node": "^20.12.7",
"@vueuse/core": "^11.1.0",
"chalk": "^5.3.0",
"codesandbox": "^2.2.3",
"cross-env": "^7.0.3",
"dts-bundle-generator": "^9.5.1",
"eslint": "^9.13.0",
"eslint-config-love": "^89.0.1",
"eslint-plugin-file-progress": "^1.5.0",
"fs-extra": "^11.2.0",
"gh-pages": "^6.1.1",
"husky": "^8.0.3",
"resize-observer-polyfill": "^1.5.1",
"rollup": "^4.21.3",
"rollup-plugin-filesize": "^10.0.0",
"shiki": "^1.22.1",
"tslib": "^2.6.2",
"typescript": "^5.5.4",
"vitepress": "^1.4.1"
}
}