mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-02 12:53:10 +00:00
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "@opchan/react",
|
|
"version": "1.1.2",
|
|
"private": false,
|
|
"description": "React contexts and hooks for OpChan built on @opchan/core",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.esm.js",
|
|
"types": "dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.esm.js",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run build:esm && npm run build:types",
|
|
"build:esm": "tsc -b --force tsconfig.build.json && cp dist/index.js dist/index.esm.js",
|
|
"build:types": "tsc -p tsconfig.types.json",
|
|
"clean": "rm -rf dist",
|
|
"dev": "tsc -w -p tsconfig.build.json",
|
|
"lint": "eslint src --ext .ts,.tsx"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-dom": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@opchan/core": "file:../core"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.5.3",
|
|
"@types/react": "^18.2.66",
|
|
"@types/react-dom": "^18.2.22"
|
|
}
|
|
}
|