mirror of
https://github.com/re-rxjs/react-rxjs.git
synced 2025-12-08 18:01:51 +00:00
60 lines
2.3 KiB
JSON
60 lines
2.3 KiB
JSON
{
|
|
"version": "0.9.7",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/re-rxjs/react-rxjs.git"
|
|
},
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"node": {
|
|
"module": "./dist/utils.es2017.js",
|
|
"import": "./dist/utils.es2019.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/utils.es2017.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"module": "./dist/utils.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/utils.es2019.mjs --target=es2019 --external:react --external:rxjs --external:@react-rxjs/core --format=esm --sourcemap",
|
|
"build:esm2017": "esbuild src/index.tsx --bundle --outfile=./dist/utils.es2017.js --target=es2017 --external:react --external:rxjs --external:@react-rxjs/core --format=esm --sourcemap",
|
|
"build:cjs:dev": "esbuild src/index.tsx --bundle --outfile=./dist/utils.cjs.development.js --target=es2015 --external:react --external:rxjs --external:@react-rxjs/core --format=cjs --sourcemap",
|
|
"build:cjs:prod": "esbuild src/index.tsx --bundle --outfile=./dist/utils.cjs.production.min.js --target=es2015 --external:react --external:rxjs --external:@react-rxjs/core --format=cjs --minify --sourcemap",
|
|
"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-rxjs/core": ">=0.1.0",
|
|
"react": ">=16.8.0",
|
|
"rxjs": ">=6"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 80,
|
|
"semi": false,
|
|
"trailingComma": "all"
|
|
},
|
|
"name": "@react-rxjs/utils",
|
|
"authors": [
|
|
"Josep M Sobrepere (https://github.com/josepot)",
|
|
"Victor Oliva (https://github.com/voliva)"
|
|
],
|
|
"devDependencies": {
|
|
"@react-rxjs/core": "0.10.8"
|
|
}
|
|
}
|