Initial commit
This commit is contained in:
39
package.json
Normal file
39
package.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "uchart",
|
||||
"version": "1.0.0",
|
||||
"description": "Lightweight charting library for the browser and Node.js",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/<user>/uchart.git"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user