Files
uChart/package.json

41 lines
1.1 KiB
JSON

{
"name": "@meteolab/uchart",
"publishConfig": { "access": "public" },
"version": "1.0.3",
"description": "Lightweight charting library for the browser and Node.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git.meteolab.online/mi/uChart"
},
"keywords": ["chart", "visualization", "typescript", "esbuild"],
"type": "module",
"files": ["dist"],
"main": "./dist/uchart.js",
"module": "./dist/uchart.js",
"types": "./dist/uchart.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/uchart.d.ts",
"import": "./dist/uchart.js",
"require": "./dist/uchart.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"build:js": "esbuild src/index.ts --bundle --minify --format=esm --outfile=dist/uchart.js",
"build:types": "tsc -p tsconfig.json",
"build": "npm run clean && npm run build:js && npm run build:types",
"prepublishOnly": "npm run build",
"serve": "npx http-server . -c-1 --gzip"
},
"dependencies": {
"axios": "^1.5.0"
},
"devDependencies": {
"esbuild": "^0.25.5",
"typescript": "^5.0.0"
}
}