mirror of
https://github.com/re-rxjs/react-rxjs.git
synced 2025-12-08 18:01:51 +00:00
62 lines
2.1 KiB
JSON
62 lines
2.1 KiB
JSON
{
|
|
"version": "0.10.8",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/re-rxjs/react-rxjs.git"
|
|
},
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"node": {
|
|
"module": "./dist/core.es2017.js",
|
|
"import": "./dist/core.es2019.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/core.es2017.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"module": "./dist/core.es2017.js",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build:ts && npm run build:esm2017 && npm run build:esm2019 && npm run build:cjs:dev && npm run build:cjs:prod",
|
|
"build:esm2019": "esbuild src/index.tsx --bundle --outfile=./dist/core.es2019.mjs --target=es2019 --external:react --external:rxjs --external:@rx-state/core --external:use-sync-external-store --format=esm --sourcemap",
|
|
"build:esm2017": "esbuild src/index.tsx --bundle --outfile=./dist/core.es2017.js --target=es2017 --external:react --external:rxjs --external:@rx-state/core --external:use-sync-external-store --format=esm --sourcemap",
|
|
"build:cjs:dev": "node cjsBuild.js",
|
|
"build:cjs:prod": "node cjsBuild.js --prod",
|
|
"build:ts": "tsc -p ./tsconfig-build.json --outDir ./dist --skipLibCheck --emitDeclarationOnly",
|
|
"test": "vitest run --coverage",
|
|
"test:watch": "vitest watch",
|
|
"lint": "prettier --check README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
|
|
"format": "prettier --write README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
|
|
"prepack": "npm run build"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8.0",
|
|
"rxjs": ">=7"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 80,
|
|
"semi": false,
|
|
"trailingComma": "all"
|
|
},
|
|
"name": "@react-rxjs/core",
|
|
"authors": [
|
|
"Josep M Sobrepere (https://github.com/josepot)",
|
|
"Victor Oliva (https://github.com/voliva)"
|
|
],
|
|
"dependencies": {
|
|
"@rx-state/core": "0.1.4",
|
|
"use-sync-external-store": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/use-sync-external-store": "^0.0.6"
|
|
}
|
|
}
|