forked from tradingview/lightweight-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"private": true,
"version": "4.1.0",
"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"
},
"module": "dist/lightweight-charts.production.mjs",
"main": "index.cjs",
"typings": "dist/typings.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"development": {
"types": "./dist/typings.d.ts",
"import": "./dist/lightweight-charts.development.mjs",
"require": "./dist/lightweight-charts.development.cjs"
},
"production": {
"types": "./dist/typings.d.ts",
"import": "./dist/lightweight-charts.production.mjs",
"require": "./dist/lightweight-charts.production.cjs"
},
"default": {
"types": "./dist/typings.d.ts",
"import": "./dist/lightweight-charts.production.mjs",
"require": "./index.cjs"
}
}
},
"files": [
"dist/**"
],
"keywords": [
"financial-charting-library",
"charting-library",
"html5-charts",
"canvas",
"typescript",
"charting",
"charts"
],
"engines": {
"node": ">=16.16.0"
},
"dependencies": {
"fancy-canvas": "2.1.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "~15.0.1",
"@rollup/plugin-replace": "~5.0.2",
"@size-limit/file": "~8.1.2",
"@types/chai": "~4.3.4",
"@types/glob": "~8.0.1",
"@types/mocha": "~10.0.1",
"@types/node": "~16.18.9",
"@types/pixelmatch": "~5.2.4",
"@types/pngjs": "~6.0.1",
"@typescript-eslint/eslint-plugin": "~5.50.0",
"@typescript-eslint/eslint-plugin-tslint": "~5.50.0",
"@typescript-eslint/parser": "~5.50.0",
"bytes": "~3.1.2",
"chai": "~4.3.7",
"chai-exclude": "~2.1.0",
"cross-env": "~7.0.3",
"dts-bundle-generator": "~7.2.0",
"eslint": "~7.32.0",
"eslint-plugin-deprecation": "~1.3.3",
"eslint-plugin-import": "~2.27.5",
"eslint-plugin-jsdoc": "~39.8.0",
"eslint-plugin-markdown": "~3.0.0",
"eslint-plugin-mdx": "~1.17.0",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-react": "~7.32.2",
"eslint-plugin-tsdoc": "~0.2.17",
"eslint-plugin-unicorn": "~40.1.0",
"express": "~4.18.2",
"glob": "~8.1.0",
"markdown-it": "~13.0.1",
"markdown-it-anchor": "~8.6.6",
"markdownlint-cli": "~0.33.0",
"memlab": "~1.1.37",
"mocha": "~10.2.0",
"npm-run-all": "~4.1.5",
"pixelmatch": "~5.3.0",
"pngjs": "~6.0.0",
"puppeteer": "~19.6.3",
"rimraf": "~4.1.2",
"rollup": "~3.14.0",
"rollup-plugin-terser": "~7.0.2",
"size-limit": "~8.1.2",
"ts-node": "~10.9.1",
"ts-transformer-properties-rename": "~0.14.0",
"ts-transformer-strip-const-enums": "~1.0.1",
"tslib": "2.5.0",
"tslint": "6.1.3",
"tslint-eslint-rules": "~5.4.0",
"tslint-microsoft-contrib": "~6.2.0",
"ttypescript": "~1.5.15",
"typescript": "4.9.5",
"yargs": "~17.6.2"
},
"scripts": {
"postinstall": "npm run install-hooks",
"install-hooks": "node scripts/githooks/install.js",
"clean": "rimraf lib/ dist/",
"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",
"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 ./",
"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",
"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",
"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",
"prepare-package-json-for-release": "node ./scripts/clean-package-json.js",
"size-limit": "size-limit",
"verify": "npm-run-all clean -p build:prod check-markdown-links -p lint check-dts-docs tsc-verify test size-limit",
"test": "mocha tests/unittests/**/*.spec.ts"
}
}