OpChan/packages/core/package.json
2025-09-18 10:29:03 +05:30

37 lines
967 B
JSON

{
"name": "@opchan/core",
"version": "1.0.0",
"description": "Core browser library for opchan",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:esm": "tsc --module esnext --outDir dist/esm && mv dist/esm/index.js dist/index.esm.js",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
"dev": "tsc --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src --ext .ts",
"clean": "rm -rf dist"
},
"keywords": [
"browser",
"library",
"typescript"
],
"author": "",
"license": "MIT",
"devDependencies": {
"typescript": "^5.0.0",
"@types/node": "^20.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}